Types
- flame_hub._base_client.ResourceT = typing.TypeVar
Base resource type which assumes
BaseModel
as the base class.
- flame_hub.types.RegistryProjectType
alias of
Literal
[‘default’, ‘aggregator’, ‘incoming’, ‘outgoing’, ‘masterImages’, ‘node’]
- flame_hub.types.AnalysisBuildStatus
alias of
Literal
[‘starting’, ‘started’, ‘stopping’, ‘stopped’, ‘finished’, ‘failed’]
- flame_hub.types.AnalysisRunStatus
alias of
Literal
[‘starting’, ‘started’, ‘running’, ‘stopping’, ‘stopped’, ‘finished’, ‘failed’]
- flame_hub.types.AnalysisCommand
alias of
Literal
[‘spinUp’, ‘tearDown’, ‘buildStart’, ‘buildStop’, ‘configurationLock’, ‘configurationUnlock’, ‘buildStatus’]
- flame_hub.types.AnalysisNodeRunStatus
alias of
Literal
[‘starting’, ‘started’, ‘stopping’, ‘stopped’, ‘running’, ‘finished’, ‘failed’]
- class flame_hub.types.PageParams
Bases:
TypedDict
Dict shape for specifying limit and offset for paginated queries.
See also
- class flame_hub.types.SortParams
Bases:
TypedDict
Dict shape for specifying parameters for sorted queries.
See also
- class flame_hub.types.FilterOperator(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
-
Operators that are supported by the Hub API for filtering requests.
See also
- eq = '='
- neq = '!'
- like = '~'
- lt = '<'
- le = '<='
- gt = '>'
- ge = '>='
- class flame_hub.types.FindAllKwargs
Bases:
TypedDict
Keyword arguments that can be used for finding resources.
See also
- page: PageParams | None
- sort: SortParams | None
- class flame_hub.types.GetKwargs
Bases:
TypedDict
Keyword arguments that can be used for getting resources.
See also
- class flame_hub.types.UploadFile
Bases:
TypedDict
- content_type: NotRequired[str]
- class flame_hub._base_client.UuidModel(*args, **kwargs)
-
Structural subtype which expects a
BaseModel
to have anid
attribute.