Container¶
- class geodesic.tesseract.components.Container(*args, **kwargs)[source]¶
Bases:
geodesic.bases._APIObject
A container that runs arbitrary code to execute a model for aggregation, machine learning, etc
NotImplemented
- repository¶
the docker repository to pull from
Descriptor:
_StringDescr
StringDescr is a string field, raises attribute error if the string isn’t set
- Args:
one_of: is a list of possible values this string can be.
coerce: stringify whatever the input
- Methods:
__get__: returns the string
__set__: sets the string after validating that it is a string/unicode
- image¶
the name of the image to use
Descriptor:
_StringDescr
StringDescr is a string field, raises attribute error if the string isn’t set
- Args:
one_of: is a list of possible values this string can be.
coerce: stringify whatever the input
- Methods:
__get__: returns the string
__set__: sets the string after validating that it is a string/unicode
- tag¶
the tag of the image to use
Descriptor:
_StringDescr
StringDescr is a string field, raises attribute error if the string isn’t set
- Args:
one_of: is a list of possible values this string can be.
coerce: stringify whatever the input
- Methods:
__get__: returns the string
__set__: sets the string after validating that it is a string/unicode
- pull_secret_credential¶
name of the credential to use to pull the container
Descriptor:
_StringDescr
StringDescr is a string field, raises attribute error if the string isn’t set
- Args:
one_of: is a list of possible values this string can be.
coerce: stringify whatever the input
- Methods:
__get__: returns the string
__set__: sets the string after validating that it is a string/unicode
- args¶
additional arguments to pass to the inference function
Descriptor:
_DictDescr
DictDescr is a dictionary field, such as properties in a GeoJSON object. This set/returns a dictionary field no matter what, it doesn’t raise an attribute error
- Methods:
__get__: returns the dict, creating it on the base object if necessary
__set__: sets the dictionary after validating that it is a dict