Skip to content

Commit e774f7e

Browse files
authored
Corrected argument order (#9)
1 parent 618bb17 commit e774f7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dataclass_click/dataclass_click.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def wrapper(*args, **kwargs):
136136
args = (arg_class_object, *args)
137137
return func(*args, **kwargs)
138138

139-
for annotation in annotations.values():
139+
for annotation in reversed(annotations.values()):
140140
delayed_decorator = annotation.callable(*annotation.args, **annotation.kwargs)
141141
wrapper = delayed_decorator(wrapper)
142142

0 commit comments

Comments
 (0)