Skip to content

Commit 77aac12

Browse files
committed
updating readme and script description
1 parent d95ea5f commit 77aac12

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ and then manually curated in order to support all the reproschema feature.
3030
### Release
3131
Upon release, there are additional formats, `jsonsld`, `turtle`, `n-triples`
3232
and `pydantic` that are created using `LinkML` tools, `reproschema-py`,
33-
and reproschema-specific script for the `pydantic` format.
33+
and [reproschema-specific script](./scripts/fix_pydantic.py) to "fix" the `pydantic` format.
3434
The entire process is automated in the GitHub Action Workflow:
3535
[Validate and Release](.github/workflows/validate_and_release.yml).
3636
This workflow must be manually triggered by the core developers once a new release is ready.

scripts/fix_pydantic.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
""" Using ast transformer to fix issues with automatic pydantic generation"""
1+
""" Using ast transformer to fix issues with automatic pydantic generation
2+
Currently the main issue is with the LangString representation in the pydantic
3+
model, I'm changing it to Dict[str, str].
4+
Perhaps in the future this script will not be required.
5+
"""
26

37
import ast
48
import sys

0 commit comments

Comments
 (0)