Miscellaneous#
- Pydantic model esgvoc.api.search.Item[source]#
- Bases: - BaseModel- An 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: - BaseModel- Place 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" ] } 
- exception esgvoc.core.exceptions.EsgvocDbError[source]#
- Bases: - EsgvocException- Represents errors relative to data base management. 
- exception esgvoc.core.exceptions.EsgvocException[source]#
- Bases: - Exception- Class base of all ESGVOC errors. 
- exception esgvoc.core.exceptions.EsgvocNotFoundError[source]#
- Bases: - EsgvocException- Represents the not found errors. 
- exception esgvoc.core.exceptions.EsgvocNotImplementedError[source]#
- Bases: - EsgvocException- Represents not implemented errors. 
- exception esgvoc.core.exceptions.EsgvocValueError[source]#
- Bases: - EsgvocException- Represents value errors.