dapla-toolbelt-metadata 0.4.2__py3-none-any.whl → 0.6.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of dapla-toolbelt-metadata might be problematic. Click here for more details.
- dapla_metadata/__init__.py +9 -0
- dapla_metadata/dapla/__init__.py +4 -0
- dapla_metadata/{_shared → dapla}/user_info.py +66 -20
- dapla_metadata/datasets/code_list.py +1 -1
- dapla_metadata/datasets/core.py +1 -1
- dapla_metadata/datasets/dapla_dataset_path_info.py +128 -14
- dapla_metadata/datasets/dataset_parser.py +21 -15
- dapla_metadata/datasets/model_backwards_compatibility.py +6 -6
- dapla_metadata/datasets/model_validation.py +2 -2
- dapla_metadata/datasets/utility/constants.py +1 -0
- dapla_metadata/datasets/utility/enums.py +1 -1
- dapla_metadata/datasets/utility/utils.py +8 -12
- dapla_metadata/standards/__init__.py +4 -0
- dapla_metadata/standards/name_validator.py +250 -0
- dapla_metadata/standards/standard_validators.py +98 -0
- dapla_metadata/standards/utils/__init__.py +1 -0
- dapla_metadata/standards/utils/constants.py +49 -0
- dapla_metadata/variable_definitions/__init__.py +5 -3
- dapla_metadata/variable_definitions/{generated → _generated}/.openapi-generator/FILES +0 -5
- dapla_metadata/variable_definitions/_generated/.openapi-generator/VERSION +1 -0
- dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/__init__.py +0 -5
- dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/api/__init__.py +0 -1
- dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/api/data_migration_api.py +2 -2
- dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/api/draft_variable_definitions_api.py +14 -14
- dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/api/patches_api.py +15 -15
- dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/api/validity_periods_api.py +8 -281
- dapla_metadata/variable_definitions/{generated/vardef_client/api/public_api.py → _generated/vardef_client/api/variable_definitions_api.py} +73 -358
- dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/models/__init__.py +2 -6
- dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/models/complete_response.py +8 -32
- dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/models/contact.py +2 -2
- dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/models/draft.py +8 -23
- dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/models/language_string_type.py +7 -6
- dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/models/owner.py +2 -2
- dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/models/patch.py +16 -61
- dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/models/problem.py +2 -2
- dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/models/update_draft.py +22 -55
- dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/models/validity_period.py +14 -48
- dapla_metadata/variable_definitions/_generated/vardef_client/models/variable_status.py +33 -0
- dapla_metadata/variable_definitions/_utils/__init__.py +1 -0
- dapla_metadata/variable_definitions/{_client.py → _utils/_client.py} +5 -3
- dapla_metadata/variable_definitions/{config.py → _utils/config.py} +25 -1
- dapla_metadata/variable_definitions/_utils/constants.py +41 -0
- dapla_metadata/variable_definitions/_utils/descriptions.py +89 -0
- dapla_metadata/variable_definitions/_utils/files.py +273 -0
- dapla_metadata/variable_definitions/_utils/template_files.py +112 -0
- dapla_metadata/variable_definitions/_utils/variable_definition_files.py +93 -0
- dapla_metadata/variable_definitions/exceptions.py +141 -11
- dapla_metadata/variable_definitions/resources/vardef_model_descriptions_nb.yaml +63 -0
- dapla_metadata/variable_definitions/vardef.py +131 -10
- dapla_metadata/variable_definitions/variable_definition.py +251 -43
- {dapla_toolbelt_metadata-0.4.2.dist-info → dapla_toolbelt_metadata-0.6.0.dist-info}/METADATA +8 -10
- dapla_toolbelt_metadata-0.6.0.dist-info/RECORD +89 -0
- {dapla_toolbelt_metadata-0.4.2.dist-info → dapla_toolbelt_metadata-0.6.0.dist-info}/WHEEL +1 -1
- dapla_metadata/variable_definitions/generated/.openapi-generator/VERSION +0 -1
- dapla_metadata/variable_definitions/generated/vardef_client/api/variable_definitions_api.py +0 -1205
- dapla_metadata/variable_definitions/generated/vardef_client/models/klass_reference.py +0 -99
- dapla_metadata/variable_definitions/generated/vardef_client/models/rendered_contact.py +0 -92
- dapla_metadata/variable_definitions/generated/vardef_client/models/rendered_variable_definition.py +0 -235
- dapla_metadata/variable_definitions/generated/vardef_client/models/supported_languages.py +0 -33
- dapla_metadata/variable_definitions/generated/vardef_client/models/variable_status.py +0 -33
- dapla_toolbelt_metadata-0.4.2.dist-info/RECORD +0 -81
- /dapla_metadata/variable_definitions/{generated → _generated}/.openapi-generator-ignore +0 -0
- /dapla_metadata/variable_definitions/{generated → _generated}/README.md +0 -0
- /dapla_metadata/variable_definitions/{generated → _generated}/__init__.py +0 -0
- /dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/api_client.py +0 -0
- /dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/api_response.py +0 -0
- /dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/configuration.py +0 -0
- /dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/docs/CompleteResponse.md +0 -0
- /dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/docs/Contact.md +0 -0
- /dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/docs/DataMigrationApi.md +0 -0
- /dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/docs/Draft.md +0 -0
- /dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/docs/DraftVariableDefinitionsApi.md +0 -0
- /dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/docs/LanguageStringType.md +0 -0
- /dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/docs/Owner.md +0 -0
- /dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/docs/Patch.md +0 -0
- /dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/docs/PatchesApi.md +0 -0
- /dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/docs/PublicApi.md +0 -0
- /dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/docs/SupportedLanguages.md +0 -0
- /dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/docs/UpdateDraft.md +0 -0
- /dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/docs/ValidityPeriod.md +0 -0
- /dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/docs/ValidityPeriodsApi.md +0 -0
- /dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/docs/VariableDefinitionsApi.md +0 -0
- /dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/docs/VariableStatus.md +0 -0
- /dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/exceptions.py +0 -0
- /dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/py.typed +0 -0
- /dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/rest.py +0 -0
- {dapla_toolbelt_metadata-0.4.2.dist-info → dapla_toolbelt_metadata-0.6.0.dist-info}/LICENSE +0 -0
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
"""Variable Definitions
|
|
2
|
-
|
|
3
|
-
## Introduction Variable Definitions are centralized definitions of concrete variables which are typically present in multiple datasets. Variable Definitions support standardization of data and metadata and facilitate sharing and joining of data by clarifying when variables have an identical definition. ## Maintenance of Variable Definitions This API allows for creation, maintenance and access of Variable Definitions. ### Ownership Creation and maintenance of variables may only be performed by Statistics Norway employees representing a specific Dapla team, who are defined as the owners of a given Variable Definition. The team an owner represents must be specified when making a request through the `active_group` query parameter. All maintenance is to be performed by the owners, with no intervention from administrators. ### Status All Variable Definitions have an associated status. The possible values for status are `DRAFT`, `PUBLISHED_INTERNAL` and `PUBLISHED_EXTERNAL`. #### Draft When a Variable Definition is created it is assigned the status `DRAFT`. Under this status the Variable Definition is: - Only visible to Statistics Norway employees. - Mutable (it may be changed directly without need for versioning). - Not suitable to refer to from other systems. This status may be changed to `PUBLISHED_INTERNAL` or `PUBLISHED_EXTERNAL` with a direct update. #### Published Internal Under this status the Variable Definition is: - Only visible to Statistics Norway employees. - Immutable (all changes are versioned). - Suitable to refer to in internal systems for statistics production. - Not suitable to refer to for external use (for example in Statistikkbanken). This status may be changed to `PUBLISHED_EXTERNAL` by creating a Patch version. #### Published External Under this status the Variable Definition is: - Visible to the general public. - Immutable (all changes are versioned). - Suitable to refer to from any system. This status may not be changed as it would break immutability. If a Variable Definition is no longer relevant then its period of validity should be ended by specifying a `valid_until` date in a Patch version. ### Immutability Variable Definitions are immutable. This means that any changes must be performed in a strict versioning system. Consumers can avoid being exposed to breaking changes by specifying a `date_of_validity` when they request a Variable Definition. #### Patches Patches are for changes which do not affect the fundamental meaning of the Variable Definition. #### Validity Periods Validity Periods are versions with a period defined by a `valid_from` date and optionally a `valid_until` date. If the fundamental meaning of a Variable Definition is to be changed, it should be done by creating a new Validity Period.
|
|
4
|
-
|
|
5
|
-
The version of the OpenAPI document: 0.1
|
|
6
|
-
Contact: metadata@ssb.no
|
|
7
|
-
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
8
|
-
|
|
9
|
-
Do not edit the class manually.
|
|
10
|
-
"""
|
|
11
|
-
|
|
12
|
-
from __future__ import annotations
|
|
13
|
-
|
|
14
|
-
import json
|
|
15
|
-
import pprint
|
|
16
|
-
import re # noqa: F401
|
|
17
|
-
from typing import Any
|
|
18
|
-
from typing import ClassVar
|
|
19
|
-
|
|
20
|
-
from pydantic import BaseModel
|
|
21
|
-
from pydantic import ConfigDict
|
|
22
|
-
from pydantic import StrictStr
|
|
23
|
-
from typing_extensions import Self
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
class KlassReference(BaseModel):
|
|
27
|
-
"""KlassReference"""
|
|
28
|
-
|
|
29
|
-
reference_uri: StrictStr
|
|
30
|
-
code: StrictStr | None = None
|
|
31
|
-
title: StrictStr | None = None
|
|
32
|
-
__properties: ClassVar[list[str]] = ["reference_uri", "code", "title"]
|
|
33
|
-
|
|
34
|
-
model_config = ConfigDict(
|
|
35
|
-
populate_by_name=True,
|
|
36
|
-
validate_assignment=True,
|
|
37
|
-
protected_namespaces=(),
|
|
38
|
-
)
|
|
39
|
-
|
|
40
|
-
def to_str(self) -> str:
|
|
41
|
-
"""Returns the string representation of the model using alias"""
|
|
42
|
-
return pprint.pformat(self.model_dump(by_alias=True))
|
|
43
|
-
|
|
44
|
-
def to_json(self) -> str:
|
|
45
|
-
"""Returns the JSON representation of the model using alias"""
|
|
46
|
-
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
47
|
-
return json.dumps(self.to_dict())
|
|
48
|
-
|
|
49
|
-
@classmethod
|
|
50
|
-
def from_json(cls, json_str: str) -> Self | None:
|
|
51
|
-
"""Create an instance of KlassReference from a JSON string"""
|
|
52
|
-
return cls.from_dict(json.loads(json_str))
|
|
53
|
-
|
|
54
|
-
def to_dict(self) -> dict[str, Any]:
|
|
55
|
-
"""Return the dictionary representation of the model using alias.
|
|
56
|
-
|
|
57
|
-
This has the following differences from calling pydantic's
|
|
58
|
-
`self.model_dump(by_alias=True)`:
|
|
59
|
-
|
|
60
|
-
* `None` is only added to the output dict for nullable fields that
|
|
61
|
-
were set at model initialization. Other fields with value `None`
|
|
62
|
-
are ignored.
|
|
63
|
-
"""
|
|
64
|
-
excluded_fields: set[str] = set([])
|
|
65
|
-
|
|
66
|
-
_dict = self.model_dump(
|
|
67
|
-
by_alias=True,
|
|
68
|
-
exclude=excluded_fields,
|
|
69
|
-
exclude_none=True,
|
|
70
|
-
)
|
|
71
|
-
# set to None if code (nullable) is None
|
|
72
|
-
# and model_fields_set contains the field
|
|
73
|
-
if self.code is None and "code" in self.model_fields_set:
|
|
74
|
-
_dict["code"] = None
|
|
75
|
-
|
|
76
|
-
# set to None if title (nullable) is None
|
|
77
|
-
# and model_fields_set contains the field
|
|
78
|
-
if self.title is None and "title" in self.model_fields_set:
|
|
79
|
-
_dict["title"] = None
|
|
80
|
-
|
|
81
|
-
return _dict
|
|
82
|
-
|
|
83
|
-
@classmethod
|
|
84
|
-
def from_dict(cls, obj: dict[str, Any] | None) -> Self | None:
|
|
85
|
-
"""Create an instance of KlassReference from a dict"""
|
|
86
|
-
if obj is None:
|
|
87
|
-
return None
|
|
88
|
-
|
|
89
|
-
if not isinstance(obj, dict):
|
|
90
|
-
return cls.model_validate(obj)
|
|
91
|
-
|
|
92
|
-
_obj = cls.model_validate(
|
|
93
|
-
{
|
|
94
|
-
"reference_uri": obj.get("reference_uri"),
|
|
95
|
-
"code": obj.get("code"),
|
|
96
|
-
"title": obj.get("title"),
|
|
97
|
-
}
|
|
98
|
-
)
|
|
99
|
-
return _obj
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
"""Variable Definitions
|
|
2
|
-
|
|
3
|
-
## Introduction Variable Definitions are centralized definitions of concrete variables which are typically present in multiple datasets. Variable Definitions support standardization of data and metadata and facilitate sharing and joining of data by clarifying when variables have an identical definition. ## Maintenance of Variable Definitions This API allows for creation, maintenance and access of Variable Definitions. ### Ownership Creation and maintenance of variables may only be performed by Statistics Norway employees representing a specific Dapla team, who are defined as the owners of a given Variable Definition. The team an owner represents must be specified when making a request through the `active_group` query parameter. All maintenance is to be performed by the owners, with no intervention from administrators. ### Status All Variable Definitions have an associated status. The possible values for status are `DRAFT`, `PUBLISHED_INTERNAL` and `PUBLISHED_EXTERNAL`. #### Draft When a Variable Definition is created it is assigned the status `DRAFT`. Under this status the Variable Definition is: - Only visible to Statistics Norway employees. - Mutable (it may be changed directly without need for versioning). - Not suitable to refer to from other systems. This status may be changed to `PUBLISHED_INTERNAL` or `PUBLISHED_EXTERNAL` with a direct update. #### Published Internal Under this status the Variable Definition is: - Only visible to Statistics Norway employees. - Immutable (all changes are versioned). - Suitable to refer to in internal systems for statistics production. - Not suitable to refer to for external use (for example in Statistikkbanken). This status may be changed to `PUBLISHED_EXTERNAL` by creating a Patch version. #### Published External Under this status the Variable Definition is: - Visible to the general public. - Immutable (all changes are versioned). - Suitable to refer to from any system. This status may not be changed as it would break immutability. If a Variable Definition is no longer relevant then its period of validity should be ended by specifying a `valid_until` date in a Patch version. ### Immutability Variable Definitions are immutable. This means that any changes must be performed in a strict versioning system. Consumers can avoid being exposed to breaking changes by specifying a `date_of_validity` when they request a Variable Definition. #### Patches Patches are for changes which do not affect the fundamental meaning of the Variable Definition. #### Validity Periods Validity Periods are versions with a period defined by a `valid_from` date and optionally a `valid_until` date. If the fundamental meaning of a Variable Definition is to be changed, it should be done by creating a new Validity Period.
|
|
4
|
-
|
|
5
|
-
The version of the OpenAPI document: 0.1
|
|
6
|
-
Contact: metadata@ssb.no
|
|
7
|
-
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
8
|
-
|
|
9
|
-
Do not edit the class manually.
|
|
10
|
-
"""
|
|
11
|
-
|
|
12
|
-
from __future__ import annotations
|
|
13
|
-
|
|
14
|
-
import json
|
|
15
|
-
import pprint
|
|
16
|
-
import re # noqa: F401
|
|
17
|
-
from typing import Any
|
|
18
|
-
from typing import ClassVar
|
|
19
|
-
|
|
20
|
-
from pydantic import BaseModel
|
|
21
|
-
from pydantic import ConfigDict
|
|
22
|
-
from pydantic import StrictStr
|
|
23
|
-
from typing_extensions import Self
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
class RenderedContact(BaseModel):
|
|
27
|
-
"""RenderedContact"""
|
|
28
|
-
|
|
29
|
-
title: StrictStr | None = None
|
|
30
|
-
email: StrictStr
|
|
31
|
-
__properties: ClassVar[list[str]] = ["title", "email"]
|
|
32
|
-
|
|
33
|
-
model_config = ConfigDict(
|
|
34
|
-
populate_by_name=True,
|
|
35
|
-
validate_assignment=True,
|
|
36
|
-
protected_namespaces=(),
|
|
37
|
-
)
|
|
38
|
-
|
|
39
|
-
def to_str(self) -> str:
|
|
40
|
-
"""Returns the string representation of the model using alias"""
|
|
41
|
-
return pprint.pformat(self.model_dump(by_alias=True))
|
|
42
|
-
|
|
43
|
-
def to_json(self) -> str:
|
|
44
|
-
"""Returns the JSON representation of the model using alias"""
|
|
45
|
-
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
46
|
-
return json.dumps(self.to_dict())
|
|
47
|
-
|
|
48
|
-
@classmethod
|
|
49
|
-
def from_json(cls, json_str: str) -> Self | None:
|
|
50
|
-
"""Create an instance of RenderedContact from a JSON string"""
|
|
51
|
-
return cls.from_dict(json.loads(json_str))
|
|
52
|
-
|
|
53
|
-
def to_dict(self) -> dict[str, Any]:
|
|
54
|
-
"""Return the dictionary representation of the model using alias.
|
|
55
|
-
|
|
56
|
-
This has the following differences from calling pydantic's
|
|
57
|
-
`self.model_dump(by_alias=True)`:
|
|
58
|
-
|
|
59
|
-
* `None` is only added to the output dict for nullable fields that
|
|
60
|
-
were set at model initialization. Other fields with value `None`
|
|
61
|
-
are ignored.
|
|
62
|
-
"""
|
|
63
|
-
excluded_fields: set[str] = set([])
|
|
64
|
-
|
|
65
|
-
_dict = self.model_dump(
|
|
66
|
-
by_alias=True,
|
|
67
|
-
exclude=excluded_fields,
|
|
68
|
-
exclude_none=True,
|
|
69
|
-
)
|
|
70
|
-
# set to None if title (nullable) is None
|
|
71
|
-
# and model_fields_set contains the field
|
|
72
|
-
if self.title is None and "title" in self.model_fields_set:
|
|
73
|
-
_dict["title"] = None
|
|
74
|
-
|
|
75
|
-
return _dict
|
|
76
|
-
|
|
77
|
-
@classmethod
|
|
78
|
-
def from_dict(cls, obj: dict[str, Any] | None) -> Self | None:
|
|
79
|
-
"""Create an instance of RenderedContact from a dict"""
|
|
80
|
-
if obj is None:
|
|
81
|
-
return None
|
|
82
|
-
|
|
83
|
-
if not isinstance(obj, dict):
|
|
84
|
-
return cls.model_validate(obj)
|
|
85
|
-
|
|
86
|
-
_obj = cls.model_validate(
|
|
87
|
-
{
|
|
88
|
-
"title": obj.get("title"),
|
|
89
|
-
"email": obj.get("email"),
|
|
90
|
-
}
|
|
91
|
-
)
|
|
92
|
-
return _obj
|
dapla_metadata/variable_definitions/generated/vardef_client/models/rendered_variable_definition.py
DELETED
|
@@ -1,235 +0,0 @@
|
|
|
1
|
-
"""Variable Definitions
|
|
2
|
-
|
|
3
|
-
## Introduction Variable Definitions are centralized definitions of concrete variables which are typically present in multiple datasets. Variable Definitions support standardization of data and metadata and facilitate sharing and joining of data by clarifying when variables have an identical definition. ## Maintenance of Variable Definitions This API allows for creation, maintenance and access of Variable Definitions. ### Ownership Creation and maintenance of variables may only be performed by Statistics Norway employees representing a specific Dapla team, who are defined as the owners of a given Variable Definition. The team an owner represents must be specified when making a request through the `active_group` query parameter. All maintenance is to be performed by the owners, with no intervention from administrators. ### Status All Variable Definitions have an associated status. The possible values for status are `DRAFT`, `PUBLISHED_INTERNAL` and `PUBLISHED_EXTERNAL`. #### Draft When a Variable Definition is created it is assigned the status `DRAFT`. Under this status the Variable Definition is: - Only visible to Statistics Norway employees. - Mutable (it may be changed directly without need for versioning). - Not suitable to refer to from other systems. This status may be changed to `PUBLISHED_INTERNAL` or `PUBLISHED_EXTERNAL` with a direct update. #### Published Internal Under this status the Variable Definition is: - Only visible to Statistics Norway employees. - Immutable (all changes are versioned). - Suitable to refer to in internal systems for statistics production. - Not suitable to refer to for external use (for example in Statistikkbanken). This status may be changed to `PUBLISHED_EXTERNAL` by creating a Patch version. #### Published External Under this status the Variable Definition is: - Visible to the general public. - Immutable (all changes are versioned). - Suitable to refer to from any system. This status may not be changed as it would break immutability. If a Variable Definition is no longer relevant then its period of validity should be ended by specifying a `valid_until` date in a Patch version. ### Immutability Variable Definitions are immutable. This means that any changes must be performed in a strict versioning system. Consumers can avoid being exposed to breaking changes by specifying a `date_of_validity` when they request a Variable Definition. #### Patches Patches are for changes which do not affect the fundamental meaning of the Variable Definition. #### Validity Periods Validity Periods are versions with a period defined by a `valid_from` date and optionally a `valid_until` date. If the fundamental meaning of a Variable Definition is to be changed, it should be done by creating a new Validity Period.
|
|
4
|
-
|
|
5
|
-
The version of the OpenAPI document: 0.1
|
|
6
|
-
Contact: metadata@ssb.no
|
|
7
|
-
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
8
|
-
|
|
9
|
-
Do not edit the class manually.
|
|
10
|
-
"""
|
|
11
|
-
|
|
12
|
-
from __future__ import annotations
|
|
13
|
-
|
|
14
|
-
import json
|
|
15
|
-
import pprint
|
|
16
|
-
import re # noqa: F401
|
|
17
|
-
from datetime import date
|
|
18
|
-
from datetime import datetime
|
|
19
|
-
from typing import Any
|
|
20
|
-
from typing import ClassVar
|
|
21
|
-
|
|
22
|
-
from pydantic import BaseModel
|
|
23
|
-
from pydantic import ConfigDict
|
|
24
|
-
from pydantic import StrictBool
|
|
25
|
-
from pydantic import StrictInt
|
|
26
|
-
from pydantic import StrictStr
|
|
27
|
-
from typing_extensions import Self
|
|
28
|
-
|
|
29
|
-
from ..models.klass_reference import KlassReference
|
|
30
|
-
from ..models.rendered_contact import RenderedContact
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
class RenderedVariableDefinition(BaseModel):
|
|
34
|
-
"""Render a Variable Definition in a specific language, for display to end users."""
|
|
35
|
-
|
|
36
|
-
id: StrictStr
|
|
37
|
-
patch_id: StrictInt
|
|
38
|
-
name: StrictStr | None = None
|
|
39
|
-
short_name: StrictStr
|
|
40
|
-
definition: StrictStr | None = None
|
|
41
|
-
classification_uri: StrictStr | None = None
|
|
42
|
-
unit_types: list[KlassReference | None]
|
|
43
|
-
subject_fields: list[KlassReference | None]
|
|
44
|
-
contains_special_categories_of_personal_data: StrictBool
|
|
45
|
-
measurement_type: KlassReference | None = None
|
|
46
|
-
valid_from: date
|
|
47
|
-
valid_until: date | None = None
|
|
48
|
-
external_reference_uri: StrictStr | None = None
|
|
49
|
-
comment: StrictStr | None = None
|
|
50
|
-
related_variable_definition_uris: list[StrictStr] | None = None
|
|
51
|
-
contact: RenderedContact | None = None
|
|
52
|
-
last_updated_at: datetime
|
|
53
|
-
__properties: ClassVar[list[str]] = [
|
|
54
|
-
"id",
|
|
55
|
-
"patch_id",
|
|
56
|
-
"name",
|
|
57
|
-
"short_name",
|
|
58
|
-
"definition",
|
|
59
|
-
"classification_uri",
|
|
60
|
-
"unit_types",
|
|
61
|
-
"subject_fields",
|
|
62
|
-
"contains_special_categories_of_personal_data",
|
|
63
|
-
"measurement_type",
|
|
64
|
-
"valid_from",
|
|
65
|
-
"valid_until",
|
|
66
|
-
"external_reference_uri",
|
|
67
|
-
"comment",
|
|
68
|
-
"related_variable_definition_uris",
|
|
69
|
-
"contact",
|
|
70
|
-
"last_updated_at",
|
|
71
|
-
]
|
|
72
|
-
|
|
73
|
-
model_config = ConfigDict(
|
|
74
|
-
populate_by_name=True,
|
|
75
|
-
validate_assignment=True,
|
|
76
|
-
protected_namespaces=(),
|
|
77
|
-
)
|
|
78
|
-
|
|
79
|
-
def to_str(self) -> str:
|
|
80
|
-
"""Returns the string representation of the model using alias"""
|
|
81
|
-
return pprint.pformat(self.model_dump(by_alias=True))
|
|
82
|
-
|
|
83
|
-
def to_json(self) -> str:
|
|
84
|
-
"""Returns the JSON representation of the model using alias"""
|
|
85
|
-
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
86
|
-
return json.dumps(self.to_dict())
|
|
87
|
-
|
|
88
|
-
@classmethod
|
|
89
|
-
def from_json(cls, json_str: str) -> Self | None:
|
|
90
|
-
"""Create an instance of RenderedVariableDefinition from a JSON string"""
|
|
91
|
-
return cls.from_dict(json.loads(json_str))
|
|
92
|
-
|
|
93
|
-
def to_dict(self) -> dict[str, Any]:
|
|
94
|
-
"""Return the dictionary representation of the model using alias.
|
|
95
|
-
|
|
96
|
-
This has the following differences from calling pydantic's
|
|
97
|
-
`self.model_dump(by_alias=True)`:
|
|
98
|
-
|
|
99
|
-
* `None` is only added to the output dict for nullable fields that
|
|
100
|
-
were set at model initialization. Other fields with value `None`
|
|
101
|
-
are ignored.
|
|
102
|
-
"""
|
|
103
|
-
excluded_fields: set[str] = set([])
|
|
104
|
-
|
|
105
|
-
_dict = self.model_dump(
|
|
106
|
-
by_alias=True,
|
|
107
|
-
exclude=excluded_fields,
|
|
108
|
-
exclude_none=True,
|
|
109
|
-
)
|
|
110
|
-
# override the default output from pydantic by calling `to_dict()` of each item in unit_types (list)
|
|
111
|
-
_items = []
|
|
112
|
-
if self.unit_types:
|
|
113
|
-
for _item_unit_types in self.unit_types:
|
|
114
|
-
if _item_unit_types:
|
|
115
|
-
_items.append(_item_unit_types.to_dict())
|
|
116
|
-
_dict["unit_types"] = _items
|
|
117
|
-
# override the default output from pydantic by calling `to_dict()` of each item in subject_fields (list)
|
|
118
|
-
_items = []
|
|
119
|
-
if self.subject_fields:
|
|
120
|
-
for _item_subject_fields in self.subject_fields:
|
|
121
|
-
if _item_subject_fields:
|
|
122
|
-
_items.append(_item_subject_fields.to_dict())
|
|
123
|
-
_dict["subject_fields"] = _items
|
|
124
|
-
# override the default output from pydantic by calling `to_dict()` of measurement_type
|
|
125
|
-
if self.measurement_type:
|
|
126
|
-
_dict["measurement_type"] = self.measurement_type.to_dict()
|
|
127
|
-
# override the default output from pydantic by calling `to_dict()` of contact
|
|
128
|
-
if self.contact:
|
|
129
|
-
_dict["contact"] = self.contact.to_dict()
|
|
130
|
-
# set to None if name (nullable) is None
|
|
131
|
-
# and model_fields_set contains the field
|
|
132
|
-
if self.name is None and "name" in self.model_fields_set:
|
|
133
|
-
_dict["name"] = None
|
|
134
|
-
|
|
135
|
-
# set to None if definition (nullable) is None
|
|
136
|
-
# and model_fields_set contains the field
|
|
137
|
-
if self.definition is None and "definition" in self.model_fields_set:
|
|
138
|
-
_dict["definition"] = None
|
|
139
|
-
|
|
140
|
-
# set to None if classification_uri (nullable) is None
|
|
141
|
-
# and model_fields_set contains the field
|
|
142
|
-
if (
|
|
143
|
-
self.classification_uri is None
|
|
144
|
-
and "classification_uri" in self.model_fields_set
|
|
145
|
-
):
|
|
146
|
-
_dict["classification_uri"] = None
|
|
147
|
-
|
|
148
|
-
# set to None if measurement_type (nullable) is None
|
|
149
|
-
# and model_fields_set contains the field
|
|
150
|
-
if (
|
|
151
|
-
self.measurement_type is None
|
|
152
|
-
and "measurement_type" in self.model_fields_set
|
|
153
|
-
):
|
|
154
|
-
_dict["measurement_type"] = None
|
|
155
|
-
|
|
156
|
-
# set to None if valid_until (nullable) is None
|
|
157
|
-
# and model_fields_set contains the field
|
|
158
|
-
if self.valid_until is None and "valid_until" in self.model_fields_set:
|
|
159
|
-
_dict["valid_until"] = None
|
|
160
|
-
|
|
161
|
-
# set to None if external_reference_uri (nullable) is None
|
|
162
|
-
# and model_fields_set contains the field
|
|
163
|
-
if (
|
|
164
|
-
self.external_reference_uri is None
|
|
165
|
-
and "external_reference_uri" in self.model_fields_set
|
|
166
|
-
):
|
|
167
|
-
_dict["external_reference_uri"] = None
|
|
168
|
-
|
|
169
|
-
# set to None if comment (nullable) is None
|
|
170
|
-
# and model_fields_set contains the field
|
|
171
|
-
if self.comment is None and "comment" in self.model_fields_set:
|
|
172
|
-
_dict["comment"] = None
|
|
173
|
-
|
|
174
|
-
# set to None if related_variable_definition_uris (nullable) is None
|
|
175
|
-
# and model_fields_set contains the field
|
|
176
|
-
if (
|
|
177
|
-
self.related_variable_definition_uris is None
|
|
178
|
-
and "related_variable_definition_uris" in self.model_fields_set
|
|
179
|
-
):
|
|
180
|
-
_dict["related_variable_definition_uris"] = None
|
|
181
|
-
|
|
182
|
-
# set to None if contact (nullable) is None
|
|
183
|
-
# and model_fields_set contains the field
|
|
184
|
-
if self.contact is None and "contact" in self.model_fields_set:
|
|
185
|
-
_dict["contact"] = None
|
|
186
|
-
|
|
187
|
-
return _dict
|
|
188
|
-
|
|
189
|
-
@classmethod
|
|
190
|
-
def from_dict(cls, obj: dict[str, Any] | None) -> Self | None:
|
|
191
|
-
"""Create an instance of RenderedVariableDefinition from a dict"""
|
|
192
|
-
if obj is None:
|
|
193
|
-
return None
|
|
194
|
-
|
|
195
|
-
if not isinstance(obj, dict):
|
|
196
|
-
return cls.model_validate(obj)
|
|
197
|
-
|
|
198
|
-
_obj = cls.model_validate(
|
|
199
|
-
{
|
|
200
|
-
"id": obj.get("id"),
|
|
201
|
-
"patch_id": obj.get("patch_id"),
|
|
202
|
-
"name": obj.get("name"),
|
|
203
|
-
"short_name": obj.get("short_name"),
|
|
204
|
-
"definition": obj.get("definition"),
|
|
205
|
-
"classification_uri": obj.get("classification_uri"),
|
|
206
|
-
"unit_types": [
|
|
207
|
-
KlassReference.from_dict(_item) for _item in obj["unit_types"]
|
|
208
|
-
]
|
|
209
|
-
if obj.get("unit_types") is not None
|
|
210
|
-
else None,
|
|
211
|
-
"subject_fields": [
|
|
212
|
-
KlassReference.from_dict(_item) for _item in obj["subject_fields"]
|
|
213
|
-
]
|
|
214
|
-
if obj.get("subject_fields") is not None
|
|
215
|
-
else None,
|
|
216
|
-
"contains_special_categories_of_personal_data": obj.get(
|
|
217
|
-
"contains_special_categories_of_personal_data"
|
|
218
|
-
),
|
|
219
|
-
"measurement_type": KlassReference.from_dict(obj["measurement_type"])
|
|
220
|
-
if obj.get("measurement_type") is not None
|
|
221
|
-
else None,
|
|
222
|
-
"valid_from": obj.get("valid_from"),
|
|
223
|
-
"valid_until": obj.get("valid_until"),
|
|
224
|
-
"external_reference_uri": obj.get("external_reference_uri"),
|
|
225
|
-
"comment": obj.get("comment"),
|
|
226
|
-
"related_variable_definition_uris": obj.get(
|
|
227
|
-
"related_variable_definition_uris"
|
|
228
|
-
),
|
|
229
|
-
"contact": RenderedContact.from_dict(obj["contact"])
|
|
230
|
-
if obj.get("contact") is not None
|
|
231
|
-
else None,
|
|
232
|
-
"last_updated_at": obj.get("last_updated_at"),
|
|
233
|
-
}
|
|
234
|
-
)
|
|
235
|
-
return _obj
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"""Variable Definitions
|
|
2
|
-
|
|
3
|
-
## Introduction Variable Definitions are centralized definitions of concrete variables which are typically present in multiple datasets. Variable Definitions support standardization of data and metadata and facilitate sharing and joining of data by clarifying when variables have an identical definition. ## Maintenance of Variable Definitions This API allows for creation, maintenance and access of Variable Definitions. ### Ownership Creation and maintenance of variables may only be performed by Statistics Norway employees representing a specific Dapla team, who are defined as the owners of a given Variable Definition. The team an owner represents must be specified when making a request through the `active_group` query parameter. All maintenance is to be performed by the owners, with no intervention from administrators. ### Status All Variable Definitions have an associated status. The possible values for status are `DRAFT`, `PUBLISHED_INTERNAL` and `PUBLISHED_EXTERNAL`. #### Draft When a Variable Definition is created it is assigned the status `DRAFT`. Under this status the Variable Definition is: - Only visible to Statistics Norway employees. - Mutable (it may be changed directly without need for versioning). - Not suitable to refer to from other systems. This status may be changed to `PUBLISHED_INTERNAL` or `PUBLISHED_EXTERNAL` with a direct update. #### Published Internal Under this status the Variable Definition is: - Only visible to Statistics Norway employees. - Immutable (all changes are versioned). - Suitable to refer to in internal systems for statistics production. - Not suitable to refer to for external use (for example in Statistikkbanken). This status may be changed to `PUBLISHED_EXTERNAL` by creating a Patch version. #### Published External Under this status the Variable Definition is: - Visible to the general public. - Immutable (all changes are versioned). - Suitable to refer to from any system. This status may not be changed as it would break immutability. If a Variable Definition is no longer relevant then its period of validity should be ended by specifying a `valid_until` date in a Patch version. ### Immutability Variable Definitions are immutable. This means that any changes must be performed in a strict versioning system. Consumers can avoid being exposed to breaking changes by specifying a `date_of_validity` when they request a Variable Definition. #### Patches Patches are for changes which do not affect the fundamental meaning of the Variable Definition. #### Validity Periods Validity Periods are versions with a period defined by a `valid_from` date and optionally a `valid_until` date. If the fundamental meaning of a Variable Definition is to be changed, it should be done by creating a new Validity Period.
|
|
4
|
-
|
|
5
|
-
The version of the OpenAPI document: 0.1
|
|
6
|
-
Contact: metadata@ssb.no
|
|
7
|
-
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
8
|
-
|
|
9
|
-
Do not edit the class manually.
|
|
10
|
-
"""
|
|
11
|
-
|
|
12
|
-
from __future__ import annotations
|
|
13
|
-
|
|
14
|
-
import json
|
|
15
|
-
from enum import Enum
|
|
16
|
-
|
|
17
|
-
from typing_extensions import Self
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
class SupportedLanguages(str, Enum):
|
|
21
|
-
"""Languages the application supports."""
|
|
22
|
-
|
|
23
|
-
"""
|
|
24
|
-
allowed enum values
|
|
25
|
-
"""
|
|
26
|
-
NB = "nb"
|
|
27
|
-
NN = "nn"
|
|
28
|
-
EN = "en"
|
|
29
|
-
|
|
30
|
-
@classmethod
|
|
31
|
-
def from_json(cls, json_str: str) -> Self:
|
|
32
|
-
"""Create an instance of SupportedLanguages from a JSON string"""
|
|
33
|
-
return cls(json.loads(json_str))
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"""Variable Definitions
|
|
2
|
-
|
|
3
|
-
## Introduction Variable Definitions are centralized definitions of concrete variables which are typically present in multiple datasets. Variable Definitions support standardization of data and metadata and facilitate sharing and joining of data by clarifying when variables have an identical definition. ## Maintenance of Variable Definitions This API allows for creation, maintenance and access of Variable Definitions. ### Ownership Creation and maintenance of variables may only be performed by Statistics Norway employees representing a specific Dapla team, who are defined as the owners of a given Variable Definition. The team an owner represents must be specified when making a request through the `active_group` query parameter. All maintenance is to be performed by the owners, with no intervention from administrators. ### Status All Variable Definitions have an associated status. The possible values for status are `DRAFT`, `PUBLISHED_INTERNAL` and `PUBLISHED_EXTERNAL`. #### Draft When a Variable Definition is created it is assigned the status `DRAFT`. Under this status the Variable Definition is: - Only visible to Statistics Norway employees. - Mutable (it may be changed directly without need for versioning). - Not suitable to refer to from other systems. This status may be changed to `PUBLISHED_INTERNAL` or `PUBLISHED_EXTERNAL` with a direct update. #### Published Internal Under this status the Variable Definition is: - Only visible to Statistics Norway employees. - Immutable (all changes are versioned). - Suitable to refer to in internal systems for statistics production. - Not suitable to refer to for external use (for example in Statistikkbanken). This status may be changed to `PUBLISHED_EXTERNAL` by creating a Patch version. #### Published External Under this status the Variable Definition is: - Visible to the general public. - Immutable (all changes are versioned). - Suitable to refer to from any system. This status may not be changed as it would break immutability. If a Variable Definition is no longer relevant then its period of validity should be ended by specifying a `valid_until` date in a Patch version. ### Immutability Variable Definitions are immutable. This means that any changes must be performed in a strict versioning system. Consumers can avoid being exposed to breaking changes by specifying a `date_of_validity` when they request a Variable Definition. #### Patches Patches are for changes which do not affect the fundamental meaning of the Variable Definition. #### Validity Periods Validity Periods are versions with a period defined by a `valid_from` date and optionally a `valid_until` date. If the fundamental meaning of a Variable Definition is to be changed, it should be done by creating a new Validity Period.
|
|
4
|
-
|
|
5
|
-
The version of the OpenAPI document: 0.1
|
|
6
|
-
Contact: metadata@ssb.no
|
|
7
|
-
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
8
|
-
|
|
9
|
-
Do not edit the class manually.
|
|
10
|
-
"""
|
|
11
|
-
|
|
12
|
-
from __future__ import annotations
|
|
13
|
-
|
|
14
|
-
import json
|
|
15
|
-
from enum import Enum
|
|
16
|
-
|
|
17
|
-
from typing_extensions import Self
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
class VariableStatus(str, Enum):
|
|
21
|
-
"""Life cycle status of a variable definition."""
|
|
22
|
-
|
|
23
|
-
"""
|
|
24
|
-
allowed enum values
|
|
25
|
-
"""
|
|
26
|
-
DRAFT = "DRAFT"
|
|
27
|
-
PUBLISHED_INTERNAL = "PUBLISHED_INTERNAL"
|
|
28
|
-
PUBLISHED_EXTERNAL = "PUBLISHED_EXTERNAL"
|
|
29
|
-
|
|
30
|
-
@classmethod
|
|
31
|
-
def from_json(cls, json_str: str) -> Self:
|
|
32
|
-
"""Create an instance of VariableStatus from a JSON string"""
|
|
33
|
-
return cls(json.loads(json_str))
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
dapla_metadata/__init__.py,sha256=VHDLLBrDihMMFN2i4QoVtMT-Sn3l4oeJmu3l2vRm9JI,172
|
|
2
|
-
dapla_metadata/_shared/__init__.py,sha256=qUFgnVhBVlPRQP0ePmY76c8FvWRrJ-9c5GvzibwERnQ,103
|
|
3
|
-
dapla_metadata/_shared/config.py,sha256=QqXcmP66AfXF8wi6FMsa7et7kH2k4EJPOF4IELKuQig,3213
|
|
4
|
-
dapla_metadata/_shared/enums.py,sha256=WHkH1d8xw41gOly6au_izZB1_-6XTcKu5rhBWUImjp8,509
|
|
5
|
-
dapla_metadata/_shared/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
|
-
dapla_metadata/_shared/user_info.py,sha256=NJ29A0GyRZqgp5la3ozfGcLpIjsTmYzn6On2gSByTe4,3342
|
|
7
|
-
dapla_metadata/datasets/__init__.py,sha256=TvzskpdFC6hGcC9_55URT5jr5wNAPzXuISd2UjJWM_8,280
|
|
8
|
-
dapla_metadata/datasets/code_list.py,sha256=kp1O6sUiUAP9WKlWY8IgHWx_1IOzJA63WveHqolgKmg,9082
|
|
9
|
-
dapla_metadata/datasets/core.py,sha256=sZNTpR-dGxTUsjJWPP2DgCnkX4M3wbcXwgT_XRLcXkY,21770
|
|
10
|
-
dapla_metadata/datasets/dapla_dataset_path_info.py,sha256=drPB7EXhAGMSIktX9DfjGoCstX_RQhgiqdk1N-9Lkhg,22058
|
|
11
|
-
dapla_metadata/datasets/dataset_parser.py,sha256=juXLi8L9wcDmEdjnVESSS8d0i6G9uB4YF_SaJd-lOxs,8008
|
|
12
|
-
dapla_metadata/datasets/external_sources/__init__.py,sha256=qvIdXwqyEmXNUCB94ZtZXRzifdW4hiXASFFPtC70f6E,83
|
|
13
|
-
dapla_metadata/datasets/external_sources/external_sources.py,sha256=9eIcOIUbaodNX1w9Tj2wl4U4wUmr5kF1R0i01fKUzGs,2974
|
|
14
|
-
dapla_metadata/datasets/model_backwards_compatibility.py,sha256=69RKZwOrSyaBQvMCjOZiM-S-clVQu8cIKOUGGpI_87Y,19171
|
|
15
|
-
dapla_metadata/datasets/model_validation.py,sha256=j0yHxiV3QusAwzohUG-pSq-6ojhynnto0z_dD5cSnVs,6875
|
|
16
|
-
dapla_metadata/datasets/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
|
-
dapla_metadata/datasets/statistic_subject_mapping.py,sha256=QdC22DUBOdRgsfmTTEUr9CKCE8fKjMq6-Ezdr6Eof_A,6254
|
|
18
|
-
dapla_metadata/datasets/utility/__init__.py,sha256=pp6tUcgUbo8iq9OPtFKQrTbLuI3uY7NHptwWSTpasOU,33
|
|
19
|
-
dapla_metadata/datasets/utility/constants.py,sha256=V9ixHTShK1uBcSesaVoKDSHzAh3CX1ATO-Z3wZHxAKs,2417
|
|
20
|
-
dapla_metadata/datasets/utility/enums.py,sha256=0in8b-RN6HSohN1O16Vr5KfYKXIsfIPFvKne7klpKQg,369
|
|
21
|
-
dapla_metadata/datasets/utility/utils.py,sha256=jkfYwlTjS2T7mLF8cz0yV8b0W2JtdDjCUpkUmbLqpms,18448
|
|
22
|
-
dapla_metadata/variable_definitions/__init__.py,sha256=MtTIGD99m0lG1QnTIY_y3yzK36RZt3HJcmYU7yxUTDk,314
|
|
23
|
-
dapla_metadata/variable_definitions/_client.py,sha256=dwqpvpNaPdn-TayiZrUtaTPrj_-K4AN_OJYkntzagpo,953
|
|
24
|
-
dapla_metadata/variable_definitions/config.py,sha256=P4QYxcbedBbxMJ-wLike0PIr1k_OOgh-Rfkv3cgBi6w,1687
|
|
25
|
-
dapla_metadata/variable_definitions/exceptions.py,sha256=gDUcqFGWZlk_Q8UcFseT39N_a7-B-cTQ1U2xTuC0D30,2676
|
|
26
|
-
dapla_metadata/variable_definitions/generated/.openapi-generator/FILES,sha256=R5pXtuG_V7fX0_D--sgfeQnXG3i0bvEwgDj68Z8aBnY,844
|
|
27
|
-
dapla_metadata/variable_definitions/generated/.openapi-generator/VERSION,sha256=CH-Mb2yjh6_A-zorBT9sGxHURJoAZ5w4fuav5Pri6OQ,6
|
|
28
|
-
dapla_metadata/variable_definitions/generated/.openapi-generator-ignore,sha256=x9lryVB5wtVEuKQ5GcZ94b10RgtkVXbtvWXOArO1XsM,169
|
|
29
|
-
dapla_metadata/variable_definitions/generated/README.md,sha256=Y4et1oAhZTCr7a-CZfLbIpyYnhKzpygNg-gj7qJ09Eg,7650
|
|
30
|
-
dapla_metadata/variable_definitions/generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
31
|
-
dapla_metadata/variable_definitions/generated/vardef_client/__init__.py,sha256=b2sVfo96b9ll6-q594T4yKnSd6Iwyp1uD_0I0gxpL88,4488
|
|
32
|
-
dapla_metadata/variable_definitions/generated/vardef_client/api/__init__.py,sha256=eRb2OBDbf88agbiGcM7CYVXlR4W-uPzhr4HID9zopGo,382
|
|
33
|
-
dapla_metadata/variable_definitions/generated/vardef_client/api/data_migration_api.py,sha256=AFsi-bh28021HfDMJm8Pfd0l0TdD0FxJcNdwBgwJR7k,15247
|
|
34
|
-
dapla_metadata/variable_definitions/generated/vardef_client/api/draft_variable_definitions_api.py,sha256=_oMYVjmVy72fNSFwnNXvSecSz1krzHRVBIEtnGyfl2w,40370
|
|
35
|
-
dapla_metadata/variable_definitions/generated/vardef_client/api/patches_api.py,sha256=IGbshfbQmnVeQelkKDmftdBiVopbXhgclUfFZkcJATQ,40253
|
|
36
|
-
dapla_metadata/variable_definitions/generated/vardef_client/api/public_api.py,sha256=78M3Vhl0QZ4VJzZcRF7BFwp0SfjRGm8bChBnO67Q_6k,41826
|
|
37
|
-
dapla_metadata/variable_definitions/generated/vardef_client/api/validity_periods_api.py,sha256=oztyJbz2P36yJaiz9-DavJLmmpmhF_-7YAIXk-01Az0,39334
|
|
38
|
-
dapla_metadata/variable_definitions/generated/vardef_client/api/variable_definitions_api.py,sha256=I9b_i-KEqZnk3BSn3zNjg37uzstgffx53wXltxfAbm8,53012
|
|
39
|
-
dapla_metadata/variable_definitions/generated/vardef_client/api_client.py,sha256=D2Jd8RBNbrhGusN5TGz0JVF9euIwd9GgDrbD1Gbseog,29531
|
|
40
|
-
dapla_metadata/variable_definitions/generated/vardef_client/api_response.py,sha256=FDrkcrL60n7sBj5kEEfbhGehtIsBcnKV9XsQUF-vZw0,738
|
|
41
|
-
dapla_metadata/variable_definitions/generated/vardef_client/configuration.py,sha256=bzzTunhv7xUk_rKxipGopP9khWyTCD4-wu4TrJIyZNU,17979
|
|
42
|
-
dapla_metadata/variable_definitions/generated/vardef_client/docs/CompleteResponse.md,sha256=CpB_PB8BkLAM5pwDPHb9AjMtk5Lxkhrf3bpZZhtFGeo,4092
|
|
43
|
-
dapla_metadata/variable_definitions/generated/vardef_client/docs/Contact.md,sha256=UrWzrB2oK38fWCV2XRQ8SBfBz9yRRKcNuO6h-A8ZOdw,847
|
|
44
|
-
dapla_metadata/variable_definitions/generated/vardef_client/docs/DataMigrationApi.md,sha256=_PSmVqGcyHipdn5dtv3gKpzLkYnZnD6r56n07jN3LEY,3269
|
|
45
|
-
dapla_metadata/variable_definitions/generated/vardef_client/docs/Draft.md,sha256=q0M9ccLM7_OCm4-AMS7oD9pxz5OfGI90x6Hf-vexz7E,2952
|
|
46
|
-
dapla_metadata/variable_definitions/generated/vardef_client/docs/DraftVariableDefinitionsApi.md,sha256=kTuqDARkMqfixTqndJT8XPcRBlLAocR8qNa-XvP3lR8,9674
|
|
47
|
-
dapla_metadata/variable_definitions/generated/vardef_client/docs/LanguageStringType.md,sha256=oruJPTD3C0qc7fhWCbKfkm595UjMWtYTqblOBdDYzRI,1012
|
|
48
|
-
dapla_metadata/variable_definitions/generated/vardef_client/docs/Owner.md,sha256=_pZguqrnnuJzMBFJ0IYgDucjefs47VOB7w869wEWcz4,793
|
|
49
|
-
dapla_metadata/variable_definitions/generated/vardef_client/docs/Patch.md,sha256=2bMQeGYSRy49icB7zviSG8xugSbN3RqrOOSGapE2PVw,3253
|
|
50
|
-
dapla_metadata/variable_definitions/generated/vardef_client/docs/PatchesApi.md,sha256=i_XHjsBRJ2awop7JBHby_UcR0NzAoPhEzOUh79jdrDA,8537
|
|
51
|
-
dapla_metadata/variable_definitions/generated/vardef_client/docs/PublicApi.md,sha256=Wsn54DoVnbO6uG476_uzRukRTTsf-xaZY55OBTarXmI,7839
|
|
52
|
-
dapla_metadata/variable_definitions/generated/vardef_client/docs/SupportedLanguages.md,sha256=2MVFjtoEZVyFclVf7hp2_HqGyVzNFisZShSZRa0Ffoc,304
|
|
53
|
-
dapla_metadata/variable_definitions/generated/vardef_client/docs/UpdateDraft.md,sha256=v8JAfsnJIDYWWXKNf9p88lHdCiBEcY1GUS0grumXpBM,3473
|
|
54
|
-
dapla_metadata/variable_definitions/generated/vardef_client/docs/ValidityPeriod.md,sha256=Owio0YiQdgdMB55C-uMb8TAr13sYp1APmJsFEty1AoE,3186
|
|
55
|
-
dapla_metadata/variable_definitions/generated/vardef_client/docs/ValidityPeriodsApi.md,sha256=oKw2fbxeUqdR4JcDSFA0nwX5Emroog8OuoaVt7FORJo,8172
|
|
56
|
-
dapla_metadata/variable_definitions/generated/vardef_client/docs/VariableDefinitionsApi.md,sha256=Gm4oBYTzOx0-pZiocAhLWcWukMzk9980pmH38nGCdYE,10812
|
|
57
|
-
dapla_metadata/variable_definitions/generated/vardef_client/docs/VariableStatus.md,sha256=UL4LmoMEdHA9Nv1XARIe8YMm6e5sA9KOtxkOU-Ujh74,418
|
|
58
|
-
dapla_metadata/variable_definitions/generated/vardef_client/exceptions.py,sha256=ZUmVKjhQkJtG_jTp9Rw9Putc1bvE5XSNgBki6QVlQhU,8448
|
|
59
|
-
dapla_metadata/variable_definitions/generated/vardef_client/models/__init__.py,sha256=40majaFFt0Ab1tHrPN4CesDY1YrOLTX36CIAlY7dA8g,3755
|
|
60
|
-
dapla_metadata/variable_definitions/generated/vardef_client/models/complete_response.py,sha256=oWw_1NnJK7caOKEA27CrK6F36hPAVNs6hual98NbHP8,14650
|
|
61
|
-
dapla_metadata/variable_definitions/generated/vardef_client/models/contact.py,sha256=E4p1jAr-y940_1UYPhqbaPEk4oO_aZ9A30avR0L6RmI,5524
|
|
62
|
-
dapla_metadata/variable_definitions/generated/vardef_client/models/draft.py,sha256=CAR6l4hw1-InAy0sprszm0yBIok7aKWFsQccgMRDKak,12811
|
|
63
|
-
dapla_metadata/variable_definitions/generated/vardef_client/models/klass_reference.py,sha256=Q_Jb-qCfFvGI81_kMMywbg2E6K4BMEc5AF5OJ7zvALE,5755
|
|
64
|
-
dapla_metadata/variable_definitions/generated/vardef_client/models/language_string_type.py,sha256=hKD_BlSZ9-h_cCbvNVUI8-srXg8K5X251Nm3mYMRe3A,5892
|
|
65
|
-
dapla_metadata/variable_definitions/generated/vardef_client/models/owner.py,sha256=-mXe3K0wWVYDhM_7rZc3uM8_Sg0Jw5UK15b8fwZt0E0,5343
|
|
66
|
-
dapla_metadata/variable_definitions/generated/vardef_client/models/patch.py,sha256=Bip6yZiIdORZWz7lRsLm6T73TfAn_PFVdB7W5RxFkdE,14769
|
|
67
|
-
dapla_metadata/variable_definitions/generated/vardef_client/models/problem.py,sha256=uxSvfblHx2BPTRL4XjaVkECY_PiiSbA0lX2BjH6mLBA,6992
|
|
68
|
-
dapla_metadata/variable_definitions/generated/vardef_client/models/rendered_contact.py,sha256=-54TugZ74VH3PPGXdkObsUxKTbmRx3rx_Mob9_1eSp0,5445
|
|
69
|
-
dapla_metadata/variable_definitions/generated/vardef_client/models/rendered_variable_definition.py,sha256=7gWTHph5XYpI6vH9FS69VTobClg6slhTDCKmwaBURvU,11576
|
|
70
|
-
dapla_metadata/variable_definitions/generated/vardef_client/models/supported_languages.py,sha256=J-YuUEGflAK-5Ytqd0g8oQoML7486VhPvWKrNG96BuU,3444
|
|
71
|
-
dapla_metadata/variable_definitions/generated/vardef_client/models/update_draft.py,sha256=7DLg9f551uF_7jWVobK8mM2zKdUmAIhUSaQ3nt9Ud5o,15591
|
|
72
|
-
dapla_metadata/variable_definitions/generated/vardef_client/models/validity_period.py,sha256=xwlLtXn9P8G-ebIcOZ-hU65sPQbZtkk658x3h1p92xk,13535
|
|
73
|
-
dapla_metadata/variable_definitions/generated/vardef_client/models/variable_status.py,sha256=FZMIg_cqo_T6OBZ-LSoSIVaAhK0tPPLa3eDQgIp_fXc,3514
|
|
74
|
-
dapla_metadata/variable_definitions/generated/vardef_client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
75
|
-
dapla_metadata/variable_definitions/generated/vardef_client/rest.py,sha256=x4PWmg3IYQBr8OgnrWr3l4Ke2rElHP3zAEVxk2U-mOc,12022
|
|
76
|
-
dapla_metadata/variable_definitions/vardef.py,sha256=zbOyn1LiH2lffY8FsAVfDtvrMkKfx2OckPFzrcLviVA,6976
|
|
77
|
-
dapla_metadata/variable_definitions/variable_definition.py,sha256=v0vjMLlRDSQseC5CW5UJOMryo1OdsN1a9qdoTYmWXZE,7461
|
|
78
|
-
dapla_toolbelt_metadata-0.4.2.dist-info/LICENSE,sha256=np3IfD5m0ZUofn_kVzDZqliozuiO6wrktw3LRPjyEiI,1073
|
|
79
|
-
dapla_toolbelt_metadata-0.4.2.dist-info/METADATA,sha256=adS2g7Zf-VQOyq6DmCG8PRVlYb7omOhCfuVTgQgT9uY,4986
|
|
80
|
-
dapla_toolbelt_metadata-0.4.2.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
81
|
-
dapla_toolbelt_metadata-0.4.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/configuration.py
RENAMED
|
File without changes
|
/dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/docs/CompleteResponse.md
RENAMED
|
File without changes
|
|
File without changes
|
/dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/docs/DataMigrationApi.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/docs/PatchesApi.md
RENAMED
|
File without changes
|
/dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/docs/PublicApi.md
RENAMED
|
File without changes
|
|
File without changes
|
/dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/docs/UpdateDraft.md
RENAMED
|
File without changes
|
/dapla_metadata/variable_definitions/{generated → _generated}/vardef_client/docs/ValidityPeriod.md
RENAMED
|
File without changes
|
|
File without changes
|