Replies: 4 comments
-
Could there be a conflict if |
Beta Was this translation helpful? Give feedback.
-
Do you mean if someone has:
If the I think |
Beta Was this translation helpful? Give feedback.
-
I was thinking more along the lines of a directory structure
with
Then
and
Which is obviously something to avoid but might be a bit more subtle to catch. It's not caught by pylint either as far as I can tell. |
Beta Was this translation helpful? Give feedback.
-
I propose we introduce a new name I also propose we introduce the new name With this, existing configurations remain working as they always have. New configurations can be used with multiple factory functions in the same module, but they must be requested by name. |
Beta Was this translation helpful? Give feedback.
-
In a recent PR #341 we added the option to load a factory function directly from a module. In this same PR @tilmantroester asked if we could extend this to allow different names for factory functions (instead of always
build_likelihood
).We propose the following solution:
We can also have a second configuration variable where one can put the name of the factory function.
Beta Was this translation helpful? Give feedback.
All reactions