-
Notifications
You must be signed in to change notification settings - Fork 93
Open
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behavior
Description
Bug Report
Description
If the make function is a generator, it calls the make function of the AutoPopulate class itself, which does not take make_kwargs as an argument. This results in the following error if one passes make_kwargs to their table that uses generators for make (make_fetch, make_compute, make_insert):
TypeError: AutoPopulate.make() got an unexpected keyword argument 'name_of_the_kw_arg'
Reproducibility
- DataJoint Version: 0.14.6
- Steps:
- Create a table that uses make generators with
make_fetch,make_compute, andmake_insert - Try passing in
make_kwargsto thepopulatefunction of that table.
- Create a table that uses make generators with
Expected Behavior
make_kwargs should be passed down to make_fetch.
I can make a PR for this bug if it is not intended behavior.
Metadata
Metadata
Assignees
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behavior