deployment.bff.app.v1.models.helper module#

class deployment.bff.app.v1.models.helper.BaseRequestModel(**data)[source]#

Bases: pydantic.main.BaseModel

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

host: Optional[str]#
port: Optional[int]#
jwt: Optional[Dict[str, Any]]#
api_key: Optional[str]#
class Config[source]#

Bases: object

allow_mutation = False#
case_sensitive = False#
arbitrary_types_allowed = True#
class deployment.bff.app.v1.models.helper.BaseIndexRequestModel(**data)[source]#

Bases: deployment.bff.app.v1.models.helper.BaseRequestModel

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

tags: List[Dict[str, Any]]#
uris: Optional[List[str]]#
class deployment.bff.app.v1.models.helper.BaseSearchRequestModel(**data)[source]#

Bases: deployment.bff.app.v1.models.helper.BaseRequestModel

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

limit: int#
uri: Optional[str]#
filters: Optional[Dict[str, str]]#
class deployment.bff.app.v1.models.helper.BaseSearchResponseModel(**data)[source]#

Bases: pydantic.main.BaseModel

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

id: str#
scores: Optional[Dict[str, deployment.bff.app.v1.models.helper._NamedScore]]#
tags: Optional[Dict[str, Union[bool, float, str, list, dict, None, List[Optional[Union[bool, float, str, list, dict]]], Dict[str, Optional[Union[bool, float, str, list, dict]]]]]]#
uri: Optional[str]#
class Config[source]#

Bases: object

case_sensitive = False#
arbitrary_types_allowed = True#