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
docs: Document make_kwargs passed to make_fetch in tripartite pattern (#146)
Update tripartite pattern examples to show that make_fetch receives
**kwargs from populate(make_kwargs={...}).
Related to datajoint-python#1350, datajoint-python#1361.
**Anti-pattern warning:** Passing arguments that affect the computed result breaks reproducibility—all inputs should come from`fetch` calls inside `make()`. If a parameter affects results, it should be stored in a lookup table and referenced via foreign key.
397
409
398
410
**Acceptable use:** Directives that don't affect results, such as:
@@ -973,8 +985,8 @@ def make(self, key):
973
985
yield# Re-acquire transaction
974
986
self.insert1({**key, 'result': result})
975
987
976
-
# Tripartite (methods)
977
-
def make_fetch(self, key): return data
988
+
# Tripartite (methods) - kwargs passed to make_fetch
0 commit comments