From 79055a4e2d645c0821caec7363334e4386bcb417 Mon Sep 17 00:00:00 2001 From: Dorota Jarecka Date: Mon, 11 Dec 2023 18:50:17 -0500 Subject: [PATCH] changing pydantic version to 2 --- .github/workflows/generate_other_formats.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/generate_other_formats.yaml b/.github/workflows/generate_other_formats.yaml index 9e1fefd59..7a75e2a0a 100644 --- a/.github/workflows/generate_other_formats.yaml +++ b/.github/workflows/generate_other_formats.yaml @@ -32,7 +32,7 @@ jobs: continue-on-error: true run: | gen-json-schema linkml-schema/reproschema.yaml > autogenerated-schema/reproschema.json; - gen-pydantic linkml-schema/reproschema.yaml > autogenerated-schema/reproschema.py; + gen-pydantic --pydantic-version 2 linkml-schema/reproschema.yaml > autogenerated-schema/reproschema.py; #gen-shacl linkml-schema/reproschema.yaml > autogenerated-schema/reproschema.shacl.ttl; gen-erdiagram linkml-schema/reproschema.yaml > autogenerated-schema/reproschema.md;