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

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

Bases: 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.shared.ModalityModel(**data)[source]#

Bases: 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.

uri: Optional[str]#
text: Optional[str]#
blob: Optional[str]#
classmethod validate_only_one_exists(values)[source]#
property content#