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;