Skip to content

Commit

Permalink
Fix positional argument order in argumented keys
Browse files Browse the repository at this point in the history
This is a syntax error that just happened to not fail on CP < 9.x.
  • Loading branch information
xs5871 committed Apr 7, 2024
1 parent 46ab5cb commit b9fa20c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kmk/keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ def _argumented_key(*user_args, **user_kwargs) -> Key:

if meta:
key = Key(
NEXT_AVAILABLE_KEY, meta=meta, *constructor_args, **constructor_kwargs
NEXT_AVAILABLE_KEY, *constructor_args, meta=meta, **constructor_kwargs
)

NEXT_AVAILABLE_KEY += 1
Expand Down

0 comments on commit b9fa20c

Please sign in to comment.