-
Notifications
You must be signed in to change notification settings - Fork 84
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
Dependency loading timing #179
Comments
Loading dependencies is a somewhat expensive operation. In pull request #176, dependencies are loaded once at the start of each high-level user-invoked function that requires dependencies: populate, progress, erd, etc. |
Hmm based on the modified files in #176, I did not see load getting called from anywhere but populate...
|
Ah, I see that it's getting called from within |
Dependencies are needed for these operations:
The dependencies are loaded once at the start of each of these operations. The problem with |
All of these methods already load dependencies. As far as I can tell, there is no standing problem with the code. Are there any problems with with the current solution? |
Reference to properties like If preferred we can use other terms, and not |
And I completely failed to see that And now I'm remember more about thoughts that went into the design, and I'm realizing that it's simply not trivial to ensure that properties like |
Currently, dependencies among tables are loaded only upon call to the
populate
method. Otherwise, we must first callload
. This is clearly inconvenient, and we should think of a good strategy to load all the dependencies, but hopefully only as necessary.The text was updated successfully, but these errors were encountered: