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

Export entities/models in rocrate.model.__init__ #147

Closed
kinow opened this issue Feb 22, 2023 · 0 comments · Fixed by #155
Closed

Export entities/models in rocrate.model.__init__ #147

kinow opened this issue Feb 22, 2023 · 0 comments · Fixed by #155

Comments

@kinow
Copy link
Member

kinow commented Feb 22, 2023

Hi,

Would it be possible to simplify the imports of ro-crate-py, import/exporting entities like Person, ContextEntity, Metadata, etc, from the __init__.py file?

So that instead of having to write

from rocrate.model.person import Person
from rocrate.model.contextentity import ContextEntity
from rocrate.model.metadata import Metadata

one can do just

from rocrate.model import Person, ContextEntity, Metadata

Cheers,
Bruno

@simleo simleo mentioned this issue Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant