-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to latest datadoc model (#291)
* Added latest model. Updated enums. Started work with backwards compability. * Removed some variables * Added v2_2_0 json test file * Some work with backwards compability * Added convertion of language string type * Refactored cheking if there is a metadata container * Some more work * adding container * Add assert * One more assert * Upadet tests * Handeled ugrade of meteadta for version 0_1_1 to 2_2_0 * Changed metadata field upgrade to look all possible previous values * Changed the order, when upgrading from LanguageStringType to String * Some more work * Added possiblilty to add new langues to language strings * Fixed tests * Fixed tests * Removed unused code * Removing custom_type and special_value from GUI * Fixed error showing None in the input components * Added check for not none for list * Fixed pre commit errors * Fixed pre commit errors * Change return type * Fix MyPy errors * Removed dummy comment * Removed TODO * Renamed method * Disabled unused fiel * Disabled unused fields * Removed TODO * Removed commented code * Fixed dataset input field tests * Removed special value and custom type, and changed tests to be compatible * Update src/datadoc/frontend/fields/display_dataset.py Co-authored-by: Miles Mason Winther <[email protected]> * Added dropdown field to use restriction, and changed contains personal data to checkbox * Fixed error from merge conflict * Fixed pre commit * Fixed pre commit * Fixed mypy errors * Added noqa to lambda function * Fixed typo --------- Co-authored-by: Joergen <[email protected]> Co-authored-by: Jorgen-5 <[email protected]> Co-authored-by: Miles Mason Winther <[email protected]>
- Loading branch information
1 parent
51b2786
commit 64fc301
Showing
23 changed files
with
1,408 additions
and
431 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
Oops, something went wrong.