App
- class labelbox.schema.foundry.app.App(*, id: str | None = None, modelId: str, name: str, description: str | None = None, inferenceParams: Dict[str, Any], classToSchemaId: Dict[str, str], ontologyId: str, createdBy: str | None = None)[source]
Bases:
_CamelCaseMixin
- model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
- model_config: ClassVar[ConfigDict] = {'alias_generator': <function to_camel>, 'arbitrary_types_allowed': True, 'populate_by_name': True, 'protected_namespaces': ()}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[dict[str, FieldInfo]] = {'class_to_schema_id': FieldInfo(annotation=Dict[str, str], required=True, alias='classToSchemaId', alias_priority=1), 'created_by': FieldInfo(annotation=Union[str, NoneType], required=False, default=None, alias='createdBy', alias_priority=1), 'description': FieldInfo(annotation=Union[str, NoneType], required=False, default=None, alias='description', alias_priority=1), 'id': FieldInfo(annotation=Union[str, NoneType], required=False, default=None, alias='id', alias_priority=1), 'inference_params': FieldInfo(annotation=Dict[str, Any], required=True, alias='inferenceParams', alias_priority=1), 'model_id': FieldInfo(annotation=str, required=True, alias='modelId', alias_priority=1), 'name': FieldInfo(annotation=str, required=True, alias='name', alias_priority=1), 'ontology_id': FieldInfo(annotation=str, required=True, alias='ontologyId', alias_priority=1)}
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.