forked from DailyDreaming/linkml-aind-model
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8bab6d1
commit 640f9c6
Showing
1 changed file
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
# linkml-model-generator | ||
Translate pydantic-based schemas from python modules to LinkML. | ||
# pydantic2linkml | ||
A tool for translating models expressed in Pydantic to LinkML | ||
|
||
### Run | ||
[![Hatch project](https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg)](https://github.com/pypa/hatch) | ||
|
||
To run the program, use: | ||
----- | ||
|
||
``` | ||
python3 generate_linkml_from_pydantic.py --root_module_name="aind_data_schema.models" --output_file="aind.yml" | ||
``` | ||
### Sample Run | ||
|
||
### Limitations | ||
```console | ||
pydantic2linkml -o o.yml -l INFO dandischema.models | ||
``` |