From 5ed10f4cc16459ec8d2130d291ff7189107664e0 Mon Sep 17 00:00:00 2001 From: mmwinther Date: Tue, 14 Nov 2023 16:20:54 +0100 Subject: [PATCH 001/102] Start of workflow to generate Pydantic models --- .github/workflows/generate-python.yml | 11 + .../datadoc_model/datadoc_model/model.py | 294 ++++++++++++++++++ 2 files changed, 305 insertions(+) create mode 100644 .github/workflows/generate-python.yml create mode 100644 generated/python/datadoc_model/datadoc_model/model.py diff --git a/.github/workflows/generate-python.yml b/.github/workflows/generate-python.yml new file mode 100644 index 00000000..4a07b4e5 --- /dev/null +++ b/.github/workflows/generate-python.yml @@ -0,0 +1,11 @@ + +on: + pull_request: + +jobs: + generate-python: + runs-on: ubuntu-latest + container: docker.io/koxudaxi/datamodel-code-generator:0.23.0 + steps: + - run: | + datamodel-codegen --help diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py new file mode 100644 index 00000000..72baa7e4 --- /dev/null +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -0,0 +1,294 @@ +# generated by datamodel-codegen: +# filename: datadoc-json-schema.json +# timestamp: 2023-11-14T15:15:39+00:00 + +from __future__ import annotations + +from datetime import datetime +from enum import Enum +from typing import List, Optional +from uuid import UUID + +from pydantic import AnyUrl, BaseModel, Field +from typing_extensions import Literal + + +class Assessment(Enum): + SENSITIVE = 'SENSITIVE' + PROTECTED = 'PROTECTED' + OPEN = 'OPEN' + + +class DatasetStatus(Enum): + DRAFT = 'DRAFT' + INTERNAL = 'INTERNAL' + EXTERNAL = 'EXTERNAL' + DEPRECATED = 'DEPRECATED' + + +class DatasetState(Enum): + SOURCE_DATA = 'SOURCE_DATA' + INPUT_DATA = 'INPUT_DATA' + PROCESSED_DATA = 'PROCESSED_DATA' + STATISTICS = 'STATISTICS' + OUTPUT_DATA = 'OUTPUT_DATA' + + +class DataType(Enum): + STRING = 'STRING' + INTEGER = 'INTEGER' + DATETIME = 'DATETIME' + BOOLEAN = 'BOOLEAN' + + +class VariableRole(Enum): + IDENTIFIER = 'IDENTIFIER' + MEASURE = 'MEASURE' + START_TIME = 'START_TIME' + STOP_TIME = 'STOP_TIME' + ATTRIBUTE = 'ATTRIBUTE' + + +class LanguageStringType(BaseModel): + en: Optional[str] = None + nn: Optional[str] = None + nb: Optional[str] = None + + +class UnitType(Enum): + ARBEIDSULYKKE = 'ARBEIDSULYKKE' + BOLIG = 'BOLIG' + BYGNING = 'BYGNING' + EIENDOM = 'EIENDOM' + FAMILIE = 'FAMILIE' + FORETAK = 'FORETAK' + FYLKE = 'FYLKE' + HAVNEANLOEP = 'HAVNEANLOEP' + HUSHOLDNING = 'HUSHOLDNING' + KJOERETOEY = 'KJOERETOEY' + KOMMUNE = 'KOMMUNE' + KURS = 'KURS' + LOVBRUDD = 'LOVBRUDD' + PERSON = 'PERSON' + STAT = 'STAT' + STORFE = 'STORFE' + TRAFIKKULYKKE = 'TRAFIKKULYKKE' + TRANSAKSJON = 'TRANSAKSJON' + VARE_TJENESTE = 'VARE_TJENESTE' + VERDIPAPIR = 'VERDIPAPIR' + VIRKSOMHET = 'VIRKSOMHET' + + +class TemporalityTypeType(Enum): + FIXED = 'FIXED' + STATUS = 'STATUS' + ACCUMULATED = 'ACCUMULATED' + EVENT = 'EVENT' + + +class Dataset(BaseModel): + short_name: Optional[str] = Field( + None, + description='Name of (physical) data file, data table or dataset', + title='Short name', + ) + assessment: Optional[Assessment] = Field( + None, + description='Value assessment (sensitivity classification) for the data set', + title='Assessment', + ) + dataset_status: Optional[DatasetStatus] = Field( + None, description='Life cycle for data set', title='Data set status' + ) + dataset_state: Optional[DatasetState] = Field( + None, description='Steady state of data', title='Data set state' + ) + name: Optional[LanguageStringType] = Field( + None, description='Name of data set', title='Name' + ) + description: Optional[LanguageStringType] = Field( + None, description='Free text description of the data set', title='Description' + ) + data_source: Optional[LanguageStringType] = Field( + None, + description='Data source. Set either for the data set or instance variable.', + title='Data source', + ) + register_uri: Optional[LanguageStringType] = Field( + None, description='Link to register', title='Register' + ) + population_description: Optional[LanguageStringType] = Field( + None, + description='Description of the population covered in the data set. Includes unit type, spatial coverage and period of time.', + title='Description of population', + ) + version: Optional[str] = Field( + None, description='Version of data set', title='Version' + ) + version_description: Optional[LanguageStringType] = Field( + None, + description='Dataset version information in the form of descriptive text', + title='Version description', + ) + unit_type: Optional[UnitType] = Field( + None, + description='Unit Type for data file, table or data set. See Definitions of Unit Types https://www.ssb.no/en/metadata/definisjoner-av-statistiske-enheter', + title='Unit type', + ) + temporality_type: Optional[TemporalityTypeType] = Field( + None, + description='Temporality type. Either for the instance variable or the data set', + title='Temporality type', + ) + subject_field: Optional[LanguageStringType] = Field( + None, + description='Primary area of statistics in which the data set is included', + title='Subject field', + ) + keyword: Optional[List[str]] = Field( + None, + description='A list of searchable keywords that can contribute to the development of effective filtering and search services.', + title='Keyword(s)', + ) + spatial_coverage_description: Optional[LanguageStringType] = Field( + None, + description="Description of the data set's spatial coverage", + title='Spatial coverage description', + ) + id: Optional[UUID] = Field( + None, description='Unique identifier for the data set', title='Identifier' + ) + owner: Optional[LanguageStringType] = Field( + None, + description='Owner of the data set (responsible division in Statistics Norway). See also Classification of organisational units https://www.ssb.no/en/klass/klassifikasjoner/83', + title='Owner', + ) + file_path: Optional[str] = Field( + None, + description="The file path contains the data set's name and the path to where it is stored", + title='File path', + ) + metadata_created_date: Optional[datetime] = Field( + None, + description='Created date for metadata about the data set', + title='Metadata created date', + ) + metadata_created_by: Optional[str] = Field( + None, description='Created by identifiable person.', title='Metadata created by' + ) + metadata_last_updated_date: Optional[datetime] = Field( + None, + description='Last updated date for metadata about the dataset', + title='Metadata last updated date', + ) + metadata_last_updated_by: Optional[str] = Field( + None, + description='Last change made by identifiable person. ', + title='Metadata last updated by', + ) + contains_data_from: Optional[str] = Field( + None, + description='The data set contains data from date/time', + title='Contains data from', + ) + contains_data_until: Optional[str] = Field( + None, + description='The data set contains data up until date/time', + title='Contains data up until', + ) + + +class Variable(BaseModel): + short_name: Optional[str] = Field( + None, + description='Physical name of the variable in the dataset. Should match the recommended short name.', + title='Short name', + ) + name: Optional[LanguageStringType] = Field( + None, + description='Variable names can be inherited from VarDef, but can also be documented/changed here', + title='Name', + ) + data_type: Optional[DataType] = Field( + None, description='Data type', title='Data type' + ) + variable_role: Optional[VariableRole] = Field( + None, + description='Role of the instance variable in the data set', + title='Variable role', + ) + definition_uri: Optional[AnyUrl] = Field( + None, + description="A link (URI) to the variable's definition in Vardok/VarDef", + title='Definition URI', + ) + direct_person_identifying: Optional[bool] = Field( + None, + description='Direct Person identifying Information (DPI). Some of the values \u200b\u200bin an instance variable kan be DPI, others not. In this case, DPI is set equal to true. For example, the variable exporter where some of the values \u200b\u200bcan be organization number, others social security numbers (sole proprietorships).', + title='Direct Person identifying Information (DPI)', + ) + data_source: Optional[LanguageStringType] = Field( + None, + description='Data source. Set at data set level, but can be overwritten at variable instance level.', + title='Data source', + ) + population_description: Optional[LanguageStringType] = Field( + None, + description='The population the variable describes can be specified in more detail here. Set at dataset level, but can be overwritten at instance variable level.', + title='Population description', + ) + comment: Optional[LanguageStringType] = Field( + None, + description='Further clarification of the variables definition', + title='Comment', + ) + temporality_type: Optional[TemporalityTypeType] = Field( + None, + description='Temporality type. Set either for variable instance or dataset.', + title='Temporality type', + ) + measurement_unit: Optional[str] = Field( + None, description='Measurement unit', title='Measurement unit' + ) + format: Optional[str] = Field( + None, + description='The format of the values \u200b\u200b(physical format or regular expression) in machine-readable form for validation. This can be used as a further specification of the data type (dataType) in those cases where this is relevant.', + title='Format', + ) + classification_uri: Optional[AnyUrl] = Field( + None, + description='Link (URI) to valid classification or code list', + title='Classification or codelist URI', + ) + sentinel_value_uri: Optional[AnyUrl] = Field( + None, + description='A link (URI) to an overview of sentinel values included in the variable. Proposals for the standardization of sentinel values \u200b\u200bhave been drafted, but this has not yet been processed by the Standards Committee in Statistics Norway: 01 - In total, 02 - Sum, 03 - Subtotal, 04 - Other, 05 - Rest, 06 - Invalid value, 07 - Unspecified, 08 - Not relevant', + title='Sentinel value URI', + ) + invalid_value_description: Optional[LanguageStringType] = Field( + None, + description='Invalid value(s) description used in addition (or as an alternative) to standard sentinel values.', + title='Invalid value(s) description', + ) + id: Optional[UUID] = Field( + None, + description='Unique SSB identifier for the instance variable in the data set', + title='Identifier', + ) + contains_data_from: Optional[datetime] = Field( + None, + description='The instance variable in the data set contains data from and including this date. This can be useful information for data sets that contain many instance variables in addition to data for many periods/years. In many cases, it will then be the case that some variables only contain data for the most recent periods/years, e.g. if the entire data set contains data from 1970 to 2020, while some instance variables only contain data from 1998 onwards.', + title='Contains data from', + ) + contains_data_until: Optional[datetime] = Field( + None, + description='The instance variable in the data set contains data up to and including this date. This can be useful information for data sets that contain many instance variables in addition to data for many periods/years. In many cases, it will then be the case that some of the instance variables in the data set are terminated (no longer updated) after a given point in time.', + title='Contains data up until', + ) + + +class Model(BaseModel): + percentage_complete: Optional[int] = None + document_version: Literal['2.0.0'] = None + dataset: Optional[Dataset] = None + variables: Optional[List[Variable]] = None From 279d2b8a90d18c49dd2b59366317875aacf869c1 Mon Sep 17 00:00:00 2001 From: mmwinther Date: Wed, 15 Nov 2023 08:42:15 +0100 Subject: [PATCH 002/102] Run generation command to stdout --- .github/workflows/generate-python.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generate-python.yml b/.github/workflows/generate-python.yml index 4a07b4e5..df7013b3 100644 --- a/.github/workflows/generate-python.yml +++ b/.github/workflows/generate-python.yml @@ -7,5 +7,12 @@ jobs: runs-on: ubuntu-latest container: docker.io/koxudaxi/datamodel-code-generator:0.23.0 steps: - - run: | - datamodel-codegen --help + - name: Checkout Project + uses: actions/checkout@v1 + - run: > + datamodel-codegen + --input-file-type jsonschema + --input src/datadoc-json-schema/datadoc-json-schema.json + --output-model-type pydantic_v2.BaseModel + --force-optional + --use-default From 05ac1dbb3e6eb23358441a0643642ed82746f65d Mon Sep 17 00:00:00 2001 From: mmwinther Date: Wed, 15 Nov 2023 10:31:58 +0100 Subject: [PATCH 003/102] Generate Pydantic models --- .github/workflows/generate-python.yml | 40 +++++++++++++++++++++++++-- 1 file changed, 37 insertions(+), 3 deletions(-) diff --git a/.github/workflows/generate-python.yml b/.github/workflows/generate-python.yml index df7013b3..8ffa6601 100644 --- a/.github/workflows/generate-python.yml +++ b/.github/workflows/generate-python.yml @@ -7,12 +7,46 @@ jobs: runs-on: ubuntu-latest container: docker.io/koxudaxi/datamodel-code-generator:0.23.0 steps: - - name: Checkout Project - uses: actions/checkout@v1 - - run: > + - name: Generate token + id: generate_token + uses: actions/create-github-app-token@v1 + with: + app-id: ${{ secrets.DAPLA_BOT_APP_ID }} + private-key: ${{ secrets.DAPLA_BOT_PRIVATE_KEY }} + + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 0 + token: ${{ steps.generate_token.outputs.token }} + + - name: Configure Git + run: | + git config user.name "dapla-bot[bot]" + git config user.email "143391972+dapla-bot[bot]@users.noreply.github.com" + + - name: Generate Python + run: > datamodel-codegen --input-file-type jsonschema --input src/datadoc-json-schema/datadoc-json-schema.json --output-model-type pydantic_v2.BaseModel --force-optional --use-default + --output generated/python/datadoc_model/datadoc_model/model.py + + - name: Check for modified files + id: git-check + run: echo ::set-output name=modified::$(if [ -n "$(git status --porcelain)" ]; then echo "true"; else echo "false"; fi) + + - name: Commit + if: steps.git-check.outputs.modified == 'true' + run: | + git add -A + git commit -m '[GENERATE] Pydantic models from JSON Schema' + + - name: Push + uses: ad-m/github-push-action@v0.8.0 + with: + github_token: ${{ steps.generate_token.outputs.token }} + branch: ${{ github.ref }} From 878193522d419e54da1016da507d3646d90e11f8 Mon Sep 17 00:00:00 2001 From: mmwinther Date: Wed, 15 Nov 2023 10:56:37 +0100 Subject: [PATCH 004/102] Install git --- .github/workflows/generate-python.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/generate-python.yml b/.github/workflows/generate-python.yml index 8ffa6601..62e536e1 100644 --- a/.github/workflows/generate-python.yml +++ b/.github/workflows/generate-python.yml @@ -14,6 +14,9 @@ jobs: app-id: ${{ secrets.DAPLA_BOT_APP_ID }} private-key: ${{ secrets.DAPLA_BOT_PRIVATE_KEY }} + - name: Install Git + run: sudo apk update && sudo apk add git + - name: Checkout uses: actions/checkout@v3 with: From 186e5e650117ff49337b9f371340de44ae018350 Mon Sep 17 00:00:00 2001 From: mmwinther Date: Wed, 15 Nov 2023 11:01:37 +0100 Subject: [PATCH 005/102] Install datamodel-codegen, don't use the container --- .github/workflows/generate-python.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/generate-python.yml b/.github/workflows/generate-python.yml index 62e536e1..54433dae 100644 --- a/.github/workflows/generate-python.yml +++ b/.github/workflows/generate-python.yml @@ -5,7 +5,6 @@ on: jobs: generate-python: runs-on: ubuntu-latest - container: docker.io/koxudaxi/datamodel-code-generator:0.23.0 steps: - name: Generate token id: generate_token @@ -14,9 +13,6 @@ jobs: app-id: ${{ secrets.DAPLA_BOT_APP_ID }} private-key: ${{ secrets.DAPLA_BOT_PRIVATE_KEY }} - - name: Install Git - run: sudo apk update && sudo apk add git - - name: Checkout uses: actions/checkout@v3 with: @@ -28,6 +24,13 @@ jobs: git config user.name "dapla-bot[bot]" git config user.email "143391972+dapla-bot[bot]@users.noreply.github.com" + - uses: actions/setup-python@v2 + with: + python-version: 3.11 + + - name: Install datamodel-codegen + run: pip install datamodel-code-generator==0.23.0 + - name: Generate Python run: > datamodel-codegen From 815f20ab2f7ea4c01fab4be9ae743d4663ae6a7a Mon Sep 17 00:00:00 2001 From: mmwinther Date: Wed, 15 Nov 2023 11:44:28 +0100 Subject: [PATCH 006/102] Install using pipx --- .github/workflows/generate-python.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/generate-python.yml b/.github/workflows/generate-python.yml index 54433dae..50dd2abc 100644 --- a/.github/workflows/generate-python.yml +++ b/.github/workflows/generate-python.yml @@ -28,8 +28,13 @@ jobs: with: python-version: 3.11 + - name: Install pipx + run: | + python -m pip install --upgrade pipx + python -m pipx ensurepath + - name: Install datamodel-codegen - run: pip install datamodel-code-generator==0.23.0 + run: python -m pipx install datamodel-code-generator==0.23.0 - name: Generate Python run: > From 03addb50b931a4b0ed50721d208d8751f88d687c Mon Sep 17 00:00:00 2001 From: mmwinther Date: Wed, 15 Nov 2023 12:18:28 +0100 Subject: [PATCH 007/102] Specify python 3.11.5 --- .github/workflows/generate-python.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/generate-python.yml b/.github/workflows/generate-python.yml index 50dd2abc..09b0e236 100644 --- a/.github/workflows/generate-python.yml +++ b/.github/workflows/generate-python.yml @@ -26,7 +26,7 @@ jobs: - uses: actions/setup-python@v2 with: - python-version: 3.11 + python-version: 3.11.5 - name: Install pipx run: | From d6827541d1f924f0452f744e6837c70bc6afe0ca Mon Sep 17 00:00:00 2001 From: mmwinther Date: Thu, 16 Nov 2023 08:54:44 +0100 Subject: [PATCH 008/102] Bump datamodel-codegen to 0.24.0 --- .github/workflows/generate-python.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/generate-python.yml b/.github/workflows/generate-python.yml index 09b0e236..9e1c93b3 100644 --- a/.github/workflows/generate-python.yml +++ b/.github/workflows/generate-python.yml @@ -34,7 +34,7 @@ jobs: python -m pipx ensurepath - name: Install datamodel-codegen - run: python -m pipx install datamodel-code-generator==0.23.0 + run: python -m pipx install datamodel-code-generator==0.24.0 - name: Generate Python run: > From 146fbf1a312e49d712e009d50044b9fe7449595a Mon Sep 17 00:00:00 2001 From: mmwinther Date: Thu, 16 Nov 2023 10:36:34 +0100 Subject: [PATCH 009/102] Install pyyaml for datamodel-codegen --- .github/workflows/generate-python.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/generate-python.yml b/.github/workflows/generate-python.yml index 9e1c93b3..ddc5ba2e 100644 --- a/.github/workflows/generate-python.yml +++ b/.github/workflows/generate-python.yml @@ -34,7 +34,10 @@ jobs: python -m pipx ensurepath - name: Install datamodel-codegen - run: python -m pipx install datamodel-code-generator==0.24.0 + # We must manually install pyyaml as a workaround for https://github.com/koxudaxi/datamodel-code-generator/issues/1697 + run: | + python -m pipx install datamodel-code-generator==0.24.0 + python -m pipx inject datamodel-code-generator pyyaml - name: Generate Python run: > From 7b86c96a01ef45ce63d42c71e080651678a9a7be Mon Sep 17 00:00:00 2001 From: mmwinther Date: Thu, 16 Nov 2023 10:43:48 +0100 Subject: [PATCH 010/102] Correctly specify branch to push to --- .github/workflows/generate-python.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generate-python.yml b/.github/workflows/generate-python.yml index ddc5ba2e..92db69bb 100644 --- a/.github/workflows/generate-python.yml +++ b/.github/workflows/generate-python.yml @@ -51,7 +51,7 @@ jobs: - name: Check for modified files id: git-check - run: echo ::set-output name=modified::$(if [ -n "$(git status --porcelain)" ]; then echo "true"; else echo "false"; fi) + run: echo modified=$(if [ -n "$(git status --porcelain)" ]; then echo "true"; else echo "false"; fi) >> $GITHUB_OUTPUT - name: Commit if: steps.git-check.outputs.modified == 'true' @@ -63,4 +63,4 @@ jobs: uses: ad-m/github-push-action@v0.8.0 with: github_token: ${{ steps.generate_token.outputs.token }} - branch: ${{ github.ref }} + branch: ${{ github.head_ref }} From bb4bcea7eb0ceb7835d46e53301bf2ed02253b72 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 09:44:28 +0000 Subject: [PATCH 011/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 72baa7e4..f8314890 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-14T15:15:39+00:00 +# timestamp: 2023-11-16T09:44:27+00:00 from __future__ import annotations From 80fe377b496a4d9600bd22fab157003b3bb15f95 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 09:45:02 +0000 Subject: [PATCH 012/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index f8314890..6183ce28 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T09:44:27+00:00 +# timestamp: 2023-11-16T09:45:02+00:00 from __future__ import annotations From 306d101c05dae2556f43db18c0991e651722682a Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 09:45:36 +0000 Subject: [PATCH 013/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 6183ce28..27325b3d 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T09:45:02+00:00 +# timestamp: 2023-11-16T09:45:36+00:00 from __future__ import annotations From a91146edccc7143d0f088f48aa689030e8ad51f9 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 09:46:11 +0000 Subject: [PATCH 014/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 27325b3d..93dfcf2c 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T09:45:36+00:00 +# timestamp: 2023-11-16T09:46:11+00:00 from __future__ import annotations From efe56b0b096eaf5b39130e19a6821e1963e9eaa7 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 09:46:45 +0000 Subject: [PATCH 015/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 93dfcf2c..882469eb 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T09:46:11+00:00 +# timestamp: 2023-11-16T09:46:45+00:00 from __future__ import annotations From e66cf62a4c8542ed442b06376534fa9ea420a608 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 09:47:18 +0000 Subject: [PATCH 016/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 882469eb..117c411e 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T09:46:45+00:00 +# timestamp: 2023-11-16T09:47:18+00:00 from __future__ import annotations From ae4bbbe1539f2dc550c351ca9ef45e92b7ea3b91 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 09:47:54 +0000 Subject: [PATCH 017/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 117c411e..054f3601 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T09:47:18+00:00 +# timestamp: 2023-11-16T09:47:54+00:00 from __future__ import annotations From b507a0382e70030880df9f78b725cb54681c3dd0 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 09:48:28 +0000 Subject: [PATCH 018/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 054f3601..503ce1e3 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T09:47:54+00:00 +# timestamp: 2023-11-16T09:48:28+00:00 from __future__ import annotations From 15743ef9e06f278239bb998f3c4b7937b77e415d Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 09:49:03 +0000 Subject: [PATCH 019/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 503ce1e3..0b13a45c 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T09:48:28+00:00 +# timestamp: 2023-11-16T09:49:03+00:00 from __future__ import annotations From 2ec7f2ac1becb205edc253772885c091e717e10c Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 09:49:39 +0000 Subject: [PATCH 020/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 0b13a45c..79210ecd 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T09:49:03+00:00 +# timestamp: 2023-11-16T09:49:39+00:00 from __future__ import annotations From d2f0372440e2e79e777fdf7e8237e65e5d0001cc Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 09:50:17 +0000 Subject: [PATCH 021/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 79210ecd..606c04c7 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T09:49:39+00:00 +# timestamp: 2023-11-16T09:50:17+00:00 from __future__ import annotations From 4deb7873198e1676181f1379eb9cb074df815e23 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 09:50:52 +0000 Subject: [PATCH 022/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 606c04c7..c6dd80ae 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T09:50:17+00:00 +# timestamp: 2023-11-16T09:50:52+00:00 from __future__ import annotations From d53cef07493eac527c18e5552cef97fcbfe121b0 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 09:51:23 +0000 Subject: [PATCH 023/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index c6dd80ae..524140ab 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T09:50:52+00:00 +# timestamp: 2023-11-16T09:51:23+00:00 from __future__ import annotations From 92425571a71b815292dd46334e9963fbee06aa99 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 09:51:57 +0000 Subject: [PATCH 024/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 524140ab..4a73242b 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T09:51:23+00:00 +# timestamp: 2023-11-16T09:51:57+00:00 from __future__ import annotations From fa09067039213487016a4a605ffd6248c3c4be58 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 09:52:30 +0000 Subject: [PATCH 025/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 4a73242b..e7fc39a6 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T09:51:57+00:00 +# timestamp: 2023-11-16T09:52:30+00:00 from __future__ import annotations From 0a6348e4b2029f3d1683e58b6c6e49719d6642c9 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 09:53:06 +0000 Subject: [PATCH 026/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index e7fc39a6..64046741 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T09:52:30+00:00 +# timestamp: 2023-11-16T09:53:06+00:00 from __future__ import annotations From 0891790fc631e8ec83350cea69fa0208b73aaa44 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 09:53:39 +0000 Subject: [PATCH 027/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 64046741..94c7284d 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T09:53:06+00:00 +# timestamp: 2023-11-16T09:53:39+00:00 from __future__ import annotations From f8b66f7d5c5eac3a3c01a50560d52d0a258527b6 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 09:54:13 +0000 Subject: [PATCH 028/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 94c7284d..ab5a2450 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T09:53:39+00:00 +# timestamp: 2023-11-16T09:54:13+00:00 from __future__ import annotations From 91d49392460f79a111f2c7d65e076aa14aac9bef Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 09:54:47 +0000 Subject: [PATCH 029/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index ab5a2450..d431a5c6 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T09:54:13+00:00 +# timestamp: 2023-11-16T09:54:47+00:00 from __future__ import annotations From 70390ad7b08374d6c84c4f38f91674a976e56ce2 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 09:55:26 +0000 Subject: [PATCH 030/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index d431a5c6..6fbec79d 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T09:54:47+00:00 +# timestamp: 2023-11-16T09:55:26+00:00 from __future__ import annotations From 79cd095a3baa0b691abee54ffbc593a4ce908486 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 09:56:01 +0000 Subject: [PATCH 031/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 6fbec79d..d5ed1da0 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T09:55:26+00:00 +# timestamp: 2023-11-16T09:56:01+00:00 from __future__ import annotations From c87e2b8e28c25f1692a2b8dd9ba4bed363b64c7b Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 09:56:35 +0000 Subject: [PATCH 032/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index d5ed1da0..21671d07 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T09:56:01+00:00 +# timestamp: 2023-11-16T09:56:35+00:00 from __future__ import annotations From 4b2f1eaab3e9d4c4107735258b8a914c43c0ee3d Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 09:57:09 +0000 Subject: [PATCH 033/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 21671d07..5c75acc5 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T09:56:35+00:00 +# timestamp: 2023-11-16T09:57:09+00:00 from __future__ import annotations From 75c99c5041f57900d34012e3ea8dfc7dcb0fe951 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 09:57:45 +0000 Subject: [PATCH 034/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 5c75acc5..55d5a582 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T09:57:09+00:00 +# timestamp: 2023-11-16T09:57:44+00:00 from __future__ import annotations From d48c12848f2934463d525587dd83ec4d39ed1c9f Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 09:58:20 +0000 Subject: [PATCH 035/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 55d5a582..8031b09e 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T09:57:44+00:00 +# timestamp: 2023-11-16T09:58:20+00:00 from __future__ import annotations From 54ae281b4762452340625f5da73ac39f90152c2b Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 09:58:55 +0000 Subject: [PATCH 036/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 8031b09e..7cde8aaf 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T09:58:20+00:00 +# timestamp: 2023-11-16T09:58:55+00:00 from __future__ import annotations From 8db77de6c67c9139b2a87757571aa830d66aa634 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 09:59:31 +0000 Subject: [PATCH 037/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 7cde8aaf..6847f23c 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T09:58:55+00:00 +# timestamp: 2023-11-16T09:59:31+00:00 from __future__ import annotations From a62a67df9c456aa8e28826eb405f828a2efb5d04 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:00:04 +0000 Subject: [PATCH 038/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 6847f23c..2cc38cac 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T09:59:31+00:00 +# timestamp: 2023-11-16T10:00:04+00:00 from __future__ import annotations From 783c462d21d5423d8d310a37abaf959d82821578 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:00:42 +0000 Subject: [PATCH 039/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 2cc38cac..47f273c2 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:00:04+00:00 +# timestamp: 2023-11-16T10:00:42+00:00 from __future__ import annotations From 10cc9938436f4a0f9e642c17d4f9bf56aa706ea4 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:01:17 +0000 Subject: [PATCH 040/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 47f273c2..550d6e00 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:00:42+00:00 +# timestamp: 2023-11-16T10:01:17+00:00 from __future__ import annotations From 556f7a9eaea10a24c89d881bf78d4c840633e37e Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:01:51 +0000 Subject: [PATCH 041/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 550d6e00..80c43f6a 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:01:17+00:00 +# timestamp: 2023-11-16T10:01:51+00:00 from __future__ import annotations From de27ff3452f00087acc7ca4726c2a4142384c1ee Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:02:24 +0000 Subject: [PATCH 042/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 80c43f6a..5e9ed3bf 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:01:51+00:00 +# timestamp: 2023-11-16T10:02:23+00:00 from __future__ import annotations From a1491a95a3415c58fe62037513dfe541ef086fe0 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:03:00 +0000 Subject: [PATCH 043/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 5e9ed3bf..e632a80c 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:02:23+00:00 +# timestamp: 2023-11-16T10:03:00+00:00 from __future__ import annotations From d49eb63bebe4ed5fc12698861524db875925f1c5 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:03:35 +0000 Subject: [PATCH 044/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index e632a80c..e7fed13f 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:03:00+00:00 +# timestamp: 2023-11-16T10:03:34+00:00 from __future__ import annotations From daa2f0b5dc064ca3dc262b88e4344135456d85b9 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:04:12 +0000 Subject: [PATCH 045/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index e7fed13f..46631f36 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:03:34+00:00 +# timestamp: 2023-11-16T10:04:12+00:00 from __future__ import annotations From 040b3a274495e81e41358a91ec1bdeddb68fa483 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:04:49 +0000 Subject: [PATCH 046/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 46631f36..b827b6c3 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:04:12+00:00 +# timestamp: 2023-11-16T10:04:49+00:00 from __future__ import annotations From a00e768bf8e38622c3cbbb6c5d2049f04e676830 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:05:25 +0000 Subject: [PATCH 047/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index b827b6c3..a895bce5 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:04:49+00:00 +# timestamp: 2023-11-16T10:05:25+00:00 from __future__ import annotations From 2be0767fa3f18728fa4da77d82c6adf6f37f84dd Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:06:01 +0000 Subject: [PATCH 048/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index a895bce5..06b545b7 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:05:25+00:00 +# timestamp: 2023-11-16T10:06:01+00:00 from __future__ import annotations From c4b74cae90823ed6f82ace2d7c4821392f5002de Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:06:34 +0000 Subject: [PATCH 049/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 06b545b7..8b705dd5 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:06:01+00:00 +# timestamp: 2023-11-16T10:06:34+00:00 from __future__ import annotations From 4ed87b7f9bcad0fb855e5a581b97c99131dbae44 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:07:11 +0000 Subject: [PATCH 050/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 8b705dd5..7e5ee0ea 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:06:34+00:00 +# timestamp: 2023-11-16T10:07:11+00:00 from __future__ import annotations From 106cde76a14108f8c06d841319e5782c7c394001 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:07:47 +0000 Subject: [PATCH 051/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 7e5ee0ea..6d046b53 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:07:11+00:00 +# timestamp: 2023-11-16T10:07:47+00:00 from __future__ import annotations From 35724a01b7c015c4f85207dc7b7191edc0b5ac4a Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:08:22 +0000 Subject: [PATCH 052/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 6d046b53..f0531833 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:07:47+00:00 +# timestamp: 2023-11-16T10:08:22+00:00 from __future__ import annotations From b7dd11819f926de9199e45ecde4683767986c5b3 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:09:00 +0000 Subject: [PATCH 053/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index f0531833..48d4be79 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:08:22+00:00 +# timestamp: 2023-11-16T10:09:00+00:00 from __future__ import annotations From 0b539ee3ac71f97d0828f9577824a4a3fbe2d540 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:09:35 +0000 Subject: [PATCH 054/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 48d4be79..e621d3b7 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:09:00+00:00 +# timestamp: 2023-11-16T10:09:34+00:00 from __future__ import annotations From b2c351d1c38e93fcfb3386aa90b0d4c902a5ad3e Mon Sep 17 00:00:00 2001 From: mmwinther Date: Thu, 16 Nov 2023 11:09:57 +0100 Subject: [PATCH 055/102] Specify which paths to trigger on --- .github/workflows/generate-python.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/generate-python.yml b/.github/workflows/generate-python.yml index 92db69bb..67c6a96f 100644 --- a/.github/workflows/generate-python.yml +++ b/.github/workflows/generate-python.yml @@ -1,6 +1,9 @@ on: pull_request: + paths: + - "src/" + - ".github/workflows/generate-python.yml" jobs: generate-python: From 2d9342ae263a70ad3b90024a71f01f591e091160 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:10:37 +0000 Subject: [PATCH 056/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index e621d3b7..80b01359 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:09:34+00:00 +# timestamp: 2023-11-16T10:10:37+00:00 from __future__ import annotations From bbdbd4a78d8b3ae7900485ecebac2ab68d94455d Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:11:13 +0000 Subject: [PATCH 057/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 80b01359..56c710e2 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:10:37+00:00 +# timestamp: 2023-11-16T10:11:13+00:00 from __future__ import annotations From 3fa0171d18d13382f1de1a6d7c42c537584d63b0 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:11:50 +0000 Subject: [PATCH 058/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 56c710e2..6a91ad34 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:11:13+00:00 +# timestamp: 2023-11-16T10:11:49+00:00 from __future__ import annotations From 1ab71f039df55c6a75661f2d1aa6e0790694d157 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:12:22 +0000 Subject: [PATCH 059/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 6a91ad34..f2f894c7 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:11:49+00:00 +# timestamp: 2023-11-16T10:12:22+00:00 from __future__ import annotations From 4b0862da5ea78def511c22f493c0c1d95939f4cb Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:12:55 +0000 Subject: [PATCH 060/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index f2f894c7..82a0292f 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:12:22+00:00 +# timestamp: 2023-11-16T10:12:55+00:00 from __future__ import annotations From b27e34d6b9348fb7c124d05fae8d3eb04dd8aefb Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:13:31 +0000 Subject: [PATCH 061/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 82a0292f..b20a2362 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:12:55+00:00 +# timestamp: 2023-11-16T10:13:31+00:00 from __future__ import annotations From 2b84bdde416a7b9dfa63e6053d41f3b00cf25f81 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:14:07 +0000 Subject: [PATCH 062/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index b20a2362..0e2d9102 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:13:31+00:00 +# timestamp: 2023-11-16T10:14:07+00:00 from __future__ import annotations From 03cd3afaaf4edb162a8a4028ff8cfd0eece2a6f0 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:14:42 +0000 Subject: [PATCH 063/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 0e2d9102..7ccd2afc 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:14:07+00:00 +# timestamp: 2023-11-16T10:14:42+00:00 from __future__ import annotations From 6c789bbc613a86f869bc6ebee7386c30faa8bfbf Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:15:19 +0000 Subject: [PATCH 064/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 7ccd2afc..6ecf83a4 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:14:42+00:00 +# timestamp: 2023-11-16T10:15:19+00:00 from __future__ import annotations From 6d4132b3a13b2aaedbf800074bcf37b65be8f7ec Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:15:54 +0000 Subject: [PATCH 065/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 6ecf83a4..b70f03a7 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:15:19+00:00 +# timestamp: 2023-11-16T10:15:54+00:00 from __future__ import annotations From 5baf6b4c2dd78aa53728d64a2ca68426d238ca3d Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:16:32 +0000 Subject: [PATCH 066/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index b70f03a7..fe0d30fe 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:15:54+00:00 +# timestamp: 2023-11-16T10:16:32+00:00 from __future__ import annotations From db19b4fbb3c12c7783d1149a6f6832a87e6efcd6 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:17:05 +0000 Subject: [PATCH 067/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index fe0d30fe..d5c3675b 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:16:32+00:00 +# timestamp: 2023-11-16T10:17:05+00:00 from __future__ import annotations From 2b3982b44f65861c4889cdf86a993bd34d543a09 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:17:41 +0000 Subject: [PATCH 068/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index d5c3675b..0a4ae57f 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:17:05+00:00 +# timestamp: 2023-11-16T10:17:41+00:00 from __future__ import annotations From f712c98ef38e3a305dc261a1b4d36ca3cfb0cfd3 Mon Sep 17 00:00:00 2001 From: mmwinther Date: Thu, 16 Nov 2023 11:17:56 +0100 Subject: [PATCH 069/102] Specify which paths to trigger on --- .github/workflows/generate-python.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/generate-python.yml b/.github/workflows/generate-python.yml index 67c6a96f..13445019 100644 --- a/.github/workflows/generate-python.yml +++ b/.github/workflows/generate-python.yml @@ -2,7 +2,7 @@ on: pull_request: paths: - - "src/" + - "src/**" - ".github/workflows/generate-python.yml" jobs: From 012a100822a11c945fcef128e7661bb98486f671 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:18:42 +0000 Subject: [PATCH 070/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 0a4ae57f..8a20ece3 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:17:41+00:00 +# timestamp: 2023-11-16T10:18:42+00:00 from __future__ import annotations From dcf0d523bb5a6d9c5ec837cafee6ba2896db92a2 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:19:13 +0000 Subject: [PATCH 071/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 8a20ece3..e29abb78 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:18:42+00:00 +# timestamp: 2023-11-16T10:19:13+00:00 from __future__ import annotations From 7121d99dc7b51ca93314c597c38396cf691fc1f6 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:19:47 +0000 Subject: [PATCH 072/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index e29abb78..f44884ef 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:19:13+00:00 +# timestamp: 2023-11-16T10:19:47+00:00 from __future__ import annotations From 38faa33ef9620a76a3ebfb0f9fa7d1034a801e16 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:20:24 +0000 Subject: [PATCH 073/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index f44884ef..38f361e7 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:19:47+00:00 +# timestamp: 2023-11-16T10:20:23+00:00 from __future__ import annotations From 27b5e8e3fbaa20732e9ac0ab31f2ecede925ac4f Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:20:57 +0000 Subject: [PATCH 074/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 38f361e7..0ad7549d 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:20:23+00:00 +# timestamp: 2023-11-16T10:20:57+00:00 from __future__ import annotations From c073d04fb7a536103b56dbe38cdd6d343308276d Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:21:35 +0000 Subject: [PATCH 075/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 0ad7549d..70724364 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:20:57+00:00 +# timestamp: 2023-11-16T10:21:35+00:00 from __future__ import annotations From 6c3e21ef0cac8d654be0d510de643774835436a7 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:22:12 +0000 Subject: [PATCH 076/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 70724364..c8e4385a 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:21:35+00:00 +# timestamp: 2023-11-16T10:22:12+00:00 from __future__ import annotations From f0a63ae036032288ef870cc6db20157571287ccf Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:23:14 +0000 Subject: [PATCH 077/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index c8e4385a..56a98578 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:22:12+00:00 +# timestamp: 2023-11-16T10:23:14+00:00 from __future__ import annotations From 2568135878d414605dc5bb188047d5f65aecc076 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:23:49 +0000 Subject: [PATCH 078/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 56a98578..5babc954 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:23:14+00:00 +# timestamp: 2023-11-16T10:23:49+00:00 from __future__ import annotations From 11f5a5a9f3c2e927bcc40c9eb2b453d990d963c6 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:24:22 +0000 Subject: [PATCH 079/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 5babc954..555421ab 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:23:49+00:00 +# timestamp: 2023-11-16T10:24:22+00:00 from __future__ import annotations From e2d7306d7046bb9e57d11aba6ab3162ee8fa2e7c Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:24:59 +0000 Subject: [PATCH 080/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 555421ab..00ff0fe1 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:24:22+00:00 +# timestamp: 2023-11-16T10:24:59+00:00 from __future__ import annotations From 75a38f41096344978696a9105764b8e33d454d19 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:25:34 +0000 Subject: [PATCH 081/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 00ff0fe1..b25d1de4 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:24:59+00:00 +# timestamp: 2023-11-16T10:25:34+00:00 from __future__ import annotations From b7825216aef9cc33b7d0b6de8e035c392eae06e5 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:26:11 +0000 Subject: [PATCH 082/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index b25d1de4..dacd91a8 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:25:34+00:00 +# timestamp: 2023-11-16T10:26:11+00:00 from __future__ import annotations From 8d4b107bf8a550b0c0864d91268ecf1757b0227d Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:26:48 +0000 Subject: [PATCH 083/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index dacd91a8..4403563b 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:26:11+00:00 +# timestamp: 2023-11-16T10:26:47+00:00 from __future__ import annotations From 281cc54fac947c10350096460894302c3ebe19ea Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:27:23 +0000 Subject: [PATCH 084/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 4403563b..0d23fefb 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:26:47+00:00 +# timestamp: 2023-11-16T10:27:23+00:00 from __future__ import annotations From 977fbd84724488f5ddc6107bfc85866f51240b0c Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:27:59 +0000 Subject: [PATCH 085/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 0d23fefb..5839bf65 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:27:23+00:00 +# timestamp: 2023-11-16T10:27:59+00:00 from __future__ import annotations From 7c24fd78fa8284a297fb90ace17e9b20cfd90539 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:28:33 +0000 Subject: [PATCH 086/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 5839bf65..0e80abea 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:27:59+00:00 +# timestamp: 2023-11-16T10:28:33+00:00 from __future__ import annotations From 6b93291f25e6141973ca81844e35e63742d9cf61 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:29:10 +0000 Subject: [PATCH 087/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 0e80abea..34cfddc1 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:28:33+00:00 +# timestamp: 2023-11-16T10:29:10+00:00 from __future__ import annotations From 4559a16cda3e0efac073b609a165b893afb6aa33 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:29:43 +0000 Subject: [PATCH 088/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 34cfddc1..5fb0d941 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:29:10+00:00 +# timestamp: 2023-11-16T10:29:43+00:00 from __future__ import annotations From c5e01aaaf7550f81b55f45af89e520ea99c8d216 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:30:17 +0000 Subject: [PATCH 089/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 5fb0d941..68a81d59 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:29:43+00:00 +# timestamp: 2023-11-16T10:30:17+00:00 from __future__ import annotations From 19b126a5cc0c6e188012b36092e555e73cf44daa Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:30:52 +0000 Subject: [PATCH 090/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 68a81d59..53bfbfc0 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:30:17+00:00 +# timestamp: 2023-11-16T10:30:52+00:00 from __future__ import annotations From fbe8c9475e7006bba828fde08ace3e0ef772d1ac Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:31:25 +0000 Subject: [PATCH 091/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 53bfbfc0..22020b3e 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:30:52+00:00 +# timestamp: 2023-11-16T10:31:25+00:00 from __future__ import annotations From f50beb0258284837c442c3e4c2eafcc4306b99c5 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:32:00 +0000 Subject: [PATCH 092/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 22020b3e..2ac022be 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:31:25+00:00 +# timestamp: 2023-11-16T10:32:00+00:00 from __future__ import annotations From 7ff2fd0e43a96e80cb34563f91caeb4dc0a9f692 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:32:39 +0000 Subject: [PATCH 093/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 2ac022be..839d189e 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:32:00+00:00 +# timestamp: 2023-11-16T10:32:38+00:00 from __future__ import annotations From 4125a44ebbb838939381751f784a6392160efef0 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:33:16 +0000 Subject: [PATCH 094/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 839d189e..10540e01 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:32:38+00:00 +# timestamp: 2023-11-16T10:33:16+00:00 from __future__ import annotations From 4aba824489ea56d3aa9911bd66b63963e63c01f4 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:33:49 +0000 Subject: [PATCH 095/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 10540e01..ae9602a6 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:33:16+00:00 +# timestamp: 2023-11-16T10:33:49+00:00 from __future__ import annotations From faa5faafffdca0fa1808396fa9b6100e2644172e Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:34:23 +0000 Subject: [PATCH 096/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index ae9602a6..160db240 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:33:49+00:00 +# timestamp: 2023-11-16T10:34:23+00:00 from __future__ import annotations From 99c000e8fa4ede9b896891a4cecb78375683ecfe Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:34:58 +0000 Subject: [PATCH 097/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 160db240..407477eb 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:34:23+00:00 +# timestamp: 2023-11-16T10:34:58+00:00 from __future__ import annotations From c158e908d2d8fb23418b0668a07c63092ca934f5 Mon Sep 17 00:00:00 2001 From: mmwinther Date: Thu, 16 Nov 2023 12:25:38 +0100 Subject: [PATCH 098/102] Use push trigger, not pull_request --- .github/workflows/generate-python.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/generate-python.yml b/.github/workflows/generate-python.yml index 13445019..16f08edf 100644 --- a/.github/workflows/generate-python.yml +++ b/.github/workflows/generate-python.yml @@ -1,9 +1,12 @@ on: - pull_request: + push: + branches: + - "**" + - "!main" paths: - - "src/**" - - ".github/workflows/generate-python.yml" + - "src/**" + - ".github/workflows/generate-python.yml" jobs: generate-python: From 335ecd78fc1f334431ed1038c4e52879226de6fa Mon Sep 17 00:00:00 2001 From: mmwinther Date: Thu, 16 Nov 2023 12:26:05 +0100 Subject: [PATCH 099/102] Bump datamodel-codegen to 0.24.2 --- .github/workflows/generate-python.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/generate-python.yml b/.github/workflows/generate-python.yml index 16f08edf..32482ce4 100644 --- a/.github/workflows/generate-python.yml +++ b/.github/workflows/generate-python.yml @@ -40,10 +40,8 @@ jobs: python -m pipx ensurepath - name: Install datamodel-codegen - # We must manually install pyyaml as a workaround for https://github.com/koxudaxi/datamodel-code-generator/issues/1697 run: | - python -m pipx install datamodel-code-generator==0.24.0 - python -m pipx inject datamodel-code-generator pyyaml + python -m pipx install datamodel-code-generator==0.24.2 - name: Generate Python run: > From 30db6ea36dd79d55631068c9b686ffb1b1f66fcd Mon Sep 17 00:00:00 2001 From: mmwinther Date: Thu, 16 Nov 2023 12:27:05 +0100 Subject: [PATCH 100/102] Use github.ref --- .github/workflows/generate-python.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/generate-python.yml b/.github/workflows/generate-python.yml index 32482ce4..4b97bb39 100644 --- a/.github/workflows/generate-python.yml +++ b/.github/workflows/generate-python.yml @@ -67,4 +67,4 @@ jobs: uses: ad-m/github-push-action@v0.8.0 with: github_token: ${{ steps.generate_token.outputs.token }} - branch: ${{ github.head_ref }} + branch: ${{ github.ref }} From 2fd2d6152d604baf6c235a82144cd3ba6f3c345e Mon Sep 17 00:00:00 2001 From: mmwinther Date: Thu, 16 Nov 2023 12:35:21 +0100 Subject: [PATCH 101/102] Add description for percentage_complete field --- src/datadoc-json-schema/datadoc-json-schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/datadoc-json-schema/datadoc-json-schema.json b/src/datadoc-json-schema/datadoc-json-schema.json index 8d166aac..dccfc23e 100644 --- a/src/datadoc-json-schema/datadoc-json-schema.json +++ b/src/datadoc-json-schema/datadoc-json-schema.json @@ -1,10 +1,10 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "type": "object", "properties": { "percentage_complete": { "$comment": "Used by the DataDoc app (internal information)", + "description": "Percentage of obligatory metadata fields populated.", "type": "integer" }, "document_version": { From b1540fc57a597fd0cbeb1bc0f62582aebfc5baa9 Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 11:35:58 +0000 Subject: [PATCH 102/102] [GENERATE] Pydantic models from JSON Schema --- generated/python/datadoc_model/datadoc_model/model.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/generated/python/datadoc_model/datadoc_model/model.py b/generated/python/datadoc_model/datadoc_model/model.py index 407477eb..09b74594 100644 --- a/generated/python/datadoc_model/datadoc_model/model.py +++ b/generated/python/datadoc_model/datadoc_model/model.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: datadoc-json-schema.json -# timestamp: 2023-11-16T10:34:58+00:00 +# timestamp: 2023-11-16T11:35:58+00:00 from __future__ import annotations @@ -288,7 +288,9 @@ class Variable(BaseModel): class Model(BaseModel): - percentage_complete: Optional[int] = None + percentage_complete: Optional[int] = Field( + None, description='Percentage of obligatory metadata fields populated.' + ) document_version: Literal['2.0.0'] = None dataset: Optional[Dataset] = None variables: Optional[List[Variable]] = None