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

new feautre / import models from metadata #8

Open
copdips opened this issue Aug 24, 2024 · 2 comments
Open

new feautre / import models from metadata #8

copdips opened this issue Aug 24, 2024 · 2 comments

Comments

@copdips
Copy link

copdips commented Aug 24, 2024

Hello,

It seems that we should imports all the models one by one in advance, is there any way that we can use metadata to get this done automatically like alembic ? metadata.tables is a FacadeDict with all the models in the dict values.

@Dicklesworthstone
Copy link
Owner

Not sure. It’s already nearly instantaneous for me so not sure what the advantage would be.

@copdips
Copy link
Author

copdips commented Aug 24, 2024

Current implementation forces to list the tables one by one. If you miss one, you will also miss it in the erd schema.
And if with metadata, we only need to import this single metadata once, we do not need to maintain the table list anymore.

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

No branches or pull requests

2 participants