Skip to main content
has_type(type_id=None, options=)[source]

Check for the existence of a type.

Parameters

type_id (str) –

Id of the type returned in response to GPUdb.create_type() request.

options (dict of str to str) –

Optional parameters. The default value is an empty dict ( ).

Returns

A dict with the following entries–

type_id (str) –

Value of input parameter type_id.

type_exists (bool) –

Indicates whether the type exists or not. Allowed values are:

  • True

  • False

info (dict of str to str) –

Additional information.