Miscellaneous#
- Pydantic model esgvoc.api.search.Item[source]#
Bases:
BaseModelAn item from the universe or a project (data descriptor, collection or term).
Show JSON schema
{ "title": "Item", "description": "An item from the universe or a project (data descriptor, collection or term).", "type": "object", "properties": { "id": { "title": "Id", "type": "string" }, "kind": { "$ref": "#/$defs/ItemKind" }, "parent_id": { "title": "Parent Id", "type": "string" } }, "$defs": { "ItemKind": { "enum": [ "data_descriptor", "collection", "term" ], "title": "ItemKind", "type": "string" } }, "required": [ "id", "kind", "parent_id" ] }
- Pydantic model esgvoc.api.search.MatchingTerm[source]#
Bases:
BaseModelPlace holder for a term that matches a value (term validation).
Show JSON schema
{ "title": "MatchingTerm", "description": "Place holder for a term that matches a value (term validation).", "type": "object", "properties": { "project_id": { "title": "Project Id", "type": "string" }, "collection_id": { "title": "Collection Id", "type": "string" }, "term_id": { "title": "Term Id", "type": "string" } }, "required": [ "project_id", "collection_id", "term_id" ] }
- class esgvoc.api.search.ItemKind(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]#
Bases:
Enum
- class esgvoc.core.db.models.mixins.TermKind(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]#
Bases:
EnumThe kinds of term.
- exception esgvoc.core.exceptions.EsgvocDbError[source]#
Bases:
EsgvocExceptionRepresents errors relative to data base management.
- exception esgvoc.core.exceptions.EsgvocException[source]#
Bases:
ExceptionClass base of all ESGVOC errors.
- exception esgvoc.core.exceptions.EsgvocNotFoundError[source]#
Bases:
EsgvocExceptionRepresents the not found errors.
- exception esgvoc.core.exceptions.EsgvocNotImplementedError[source]#
Bases:
EsgvocExceptionRepresents not implemented errors.
- exception esgvoc.core.exceptions.EsgvocValueError[source]#
Bases:
EsgvocExceptionRepresents value errors.