You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes it makes sense to group helper utilities together in in the library search path.
However, we don't always want these files to be loaded if for example the model itself is not used.
The problem is that modelkit traverses and loads all python modules in the search path. It would be useful to be able to skip over specific files.
This could maybe be done with a common naming convention, for example prefixing files that should be ignored with some standard prefix, eg. library._my_module would be ignored and skipped over (this follows private convention, with the underscore indicating a module that should not be exposed publicly), while library.my_module would be traversed and loaded.
The text was updated successfully, but these errors were encountered:
Sometimes it makes sense to group helper utilities together in in the library search path.
However, we don't always want these files to be loaded if for example the model itself is not used.
This could maybe be done with a common naming convention, for example prefixing files that should be ignored with some standard prefix, eg.
library._my_module
would be ignored and skipped over (this follows private convention, with the underscore indicating a module that should not be exposed publicly), whilelibrary.my_module
would be traversed and loaded.The text was updated successfully, but these errors were encountered: