Title: Bug: `make_kwargs` does not work for generator make · Issue #1350 · datajoint/datajoint-python · GitHub
Open Graph Title: Bug: `make_kwargs` does not work for generator make · Issue #1350 · datajoint/datajoint-python
X Title: Bug: `make_kwargs` does not work for generator make · Issue #1350 · datajoint/datajoint-python
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 the...
Open Graph 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 followin...
X 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 followin...
Opengraph URL: https://github.com/datajoint/datajoint-python/issues/1350
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bug: `make_kwargs` does not work for generator make","articleBody":"## Bug Report\n\n### Description\nIf the `make` function is a generator, it [calls](https://github.com/datajoint/datajoint-python/blob/3007218abb6e053ef3a7c9ec27de04b709eed368/src/datajoint/autopopulate.py#L609) the [`make` ](https://github.com/datajoint/datajoint-python/blob/3007218abb6e053ef3a7c9ec27de04b709eed368/src/datajoint/autopopulate.py#L207) 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`):\n\n```\nTypeError: AutoPopulate.make() got an unexpected keyword argument 'name_of_the_kw_arg'\n```\n\n### Reproducibility\n- DataJoint Version: 0.14.6\n- Steps:\n - Create a table that uses make generators with `make_fetch`, `make_compute`, and `make_insert`\n - Try passing in `make_kwargs` to the `populate` function of that table.\n\n\n### Expected Behavior\n`make_kwargs` should be passed down to `make_fetch`.\n\n\nI can make a PR for this bug if it is not intended behavior.","author":{"url":"https://github.com/arashsm79","@type":"Person","name":"arashsm79"},"datePublished":"2026-01-27T12:49:09.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/1350/datajoint-python/issues/1350"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:cc8caece-4b67-85dc-50d9-f4939ae66676 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D15E:3A0051:15BFA5:1CE9C0:6A4D94A9 |
| html-safe-nonce | 473ab72c3755008591724242565afdd05a7b0a44dcf8be8bc09d887f5c5f03d6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTVFOjNBMDA1MToxNUJGQTU6MUNFOUMwOjZBNEQ5NEE5IiwidmlzaXRvcl9pZCI6IjY2OTE1NjU4MDkyMjk5OTMxMjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e02d221a00d11ef68476cc44cadafd3d96bf25b95e867fe92dfb5a6bf7a32840 |
| hovercard-subject-tag | issue:3860447524 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/datajoint/datajoint-python/1350/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f9797d683c9033cf2ad20ad1468122b4f838c320f66618cfda69b827d73cd1c9/datajoint/datajoint-python/issues/1350 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f9797d683c9033cf2ad20ad1468122b4f838c320f66618cfda69b827d73cd1c9/datajoint/datajoint-python/issues/1350 |
| og:image:alt | 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 followin... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | arashsm79 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| go-import | github.com/datajoint/datajoint-python git https://github.com/datajoint/datajoint-python.git |
| octolytics-dimension-user_id | 2375501 |
| octolytics-dimension-user_login | datajoint |
| octolytics-dimension-repository_id | 5866704 |
| octolytics-dimension-repository_nwo | datajoint/datajoint-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 5866704 |
| octolytics-dimension-repository_network_root_nwo | datajoint/datajoint-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 74e2a9c78f1e38588de4f25885878349d721eedf |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width