We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b2bec3 commit 7c359c0Copy full SHA for 7c359c0
1 file changed
confection/_registry.py
@@ -328,9 +328,11 @@ def _validate_promise_args(
328
}
329
)
330
# Check for unexpected arguments (@ keys are registry refs, * is positional args)
331
- known = set(schema.model_fields.keys()) | {
332
- k for k in filled if k.startswith("@")
333
- } | {ARGS_FIELD}
+ known = (
+ set(schema.model_fields.keys())
+ | {k for k in filled if k.startswith("@")}
334
+ | {ARGS_FIELD}
335
+ )
336
for key in filled:
337
if key not in known:
338
errors.append(
0 commit comments