Version:

has_typeΒΆ

GPUdb.has_type( type_id = None, options = {} )

Check for the existence of a type.

Input Parameter Description

Name Type Description
type_id str Id of the type returned in response to create_type request.
options dict of str Optional parameters. Default value is an empty dict ( {} ).

Output Parameter Description

Name Type Description
type_id str Value of input parameter type_id.
type_exists bool

Indicates whether the type exists or not. The allowed values are:

  • True
  • False