Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow users to access the Python Data Classes directly #40

Open
gaurav opened this issue May 31, 2021 · 1 comment
Open

Allow users to access the Python Data Classes directly #40

gaurav opened this issue May 31, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request linkml representation Issues relating to the LinkML representation of the CRDC-H model

Comments

@gaurav
Copy link
Collaborator

gaurav commented May 31, 2021

The Python Data Classes are currently generated in a single file at python/ccdhmodel.py. This cannot be accessed directly via pip.

I believe that the new LinkML model template currently being tested (#7) will provide this automatically, so we should probably try to implement that first and see if it meets our needs. If not, we will need to include a setup.py file that provides information on how to install the Python Data Classes. This will not only allow users to install the Data Classes via GitHub, but will also allow us to publish the Data Classes to PyPI, making it even easier for users to use them.

@gaurav gaurav added enhancement New feature or request linkml representation Issues relating to the LinkML representation of the CRDC-H model labels May 31, 2021
@gaurav gaurav added this to the CCDH Model, v2.0 milestone Jul 6, 2021
@gaurav gaurav self-assigned this Sep 23, 2021
@sujaypatil96
Copy link
Contributor

@gaurav: This issue can probably be closed, with the crdch model now accessible as a Python package that can be imported into our applications.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request linkml representation Issues relating to the LinkML representation of the CRDC-H model
Projects
None yet
Development

No branches or pull requests

2 participants