We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b71f350 commit 4846440Copy full SHA for 4846440
1 file changed
dp3/common/task.py
@@ -83,7 +83,7 @@ def instanciate_dps(v, info: FieldValidationInfo):
83
if isinstance(v, DataPointBase):
84
return v
85
# Return to give clearer error message if etype or attr is not present
86
- if "etype" not in info.data or "attr" not in info.data:
+ if "etype" not in v or "attr" not in v:
87
88
89
etype = v.get("etype")
0 commit comments