-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
13 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,9 +12,6 @@ | |
from dapla_metadata.variable_definitions.generated.vardef_client.api.variable_definitions_api import ( | ||
VariableDefinitionsApi, | ||
) | ||
from dapla_metadata.variable_definitions.generated.vardef_client.models.contact import ( | ||
Contact, | ||
) | ||
from dapla_metadata.variable_definitions.generated.vardef_client.models.draft import ( | ||
Draft, | ||
) | ||
|
@@ -173,19 +170,3 @@ def get_variable_definition( | |
date_of_validity=date_of_validity, | ||
), | ||
) | ||
|
||
draft = Draft( | ||
name={"nb": "testing"}, | ||
short_name="test", | ||
definition={"nb": "def testing"}, | ||
classification_reference="91", | ||
unit_types=["haha"], | ||
subject_fields=["a"], | ||
contains_sensitive_personal_information=True, | ||
measurement_type="01", | ||
valid_from=date(2024, 11, 1), | ||
external_reference_uri="http://www.example.com", | ||
comment=None, | ||
related_variable_definition_uris=["http://www.example.com"], | ||
contact=Contact(title={"nb": "title"}, email="[email protected]"), | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters