@@ -28,7 +28,7 @@ def construct_fields(model, registry, only_fields, exclude_fields):
28
28
is_excluded = name in exclude_fields # or is_already_created
29
29
if is_not_in_only or is_excluded :
30
30
# We skip this field if we specify only_fields and is not
31
- # in there. Or when we excldue this field in exclude_fields
31
+ # in there. Or when we exclude this field in exclude_fields
32
32
continue
33
33
converted_column = convert_sqlalchemy_column (column , registry )
34
34
fields [name ] = converted_column
@@ -39,7 +39,7 @@ def construct_fields(model, registry, only_fields, exclude_fields):
39
39
is_excluded = name in exclude_fields # or is_already_created
40
40
if is_not_in_only or is_excluded :
41
41
# We skip this field if we specify only_fields and is not
42
- # in there. Or when we excldue this field in exclude_fields
42
+ # in there. Or when we exclude this field in exclude_fields
43
43
continue
44
44
converted_composite = convert_sqlalchemy_composite (composite , registry )
45
45
fields [name ] = converted_composite
@@ -55,7 +55,7 @@ def construct_fields(model, registry, only_fields, exclude_fields):
55
55
56
56
if is_not_in_only or is_excluded :
57
57
# We skip this field if we specify only_fields and is not
58
- # in there. Or when we excldue this field in exclude_fields
58
+ # in there. Or when we exclude this field in exclude_fields
59
59
continue
60
60
61
61
converted_hybrid_property = convert_sqlalchemy_hybrid_method (
@@ -70,7 +70,7 @@ def construct_fields(model, registry, only_fields, exclude_fields):
70
70
is_excluded = relationship .key in exclude_fields # or is_already_created
71
71
if is_not_in_only or is_excluded :
72
72
# We skip this field if we specify only_fields and is not
73
- # in there. Or when we excldue this field in exclude_fields
73
+ # in there. Or when we exclude this field in exclude_fields
74
74
continue
75
75
converted_relationship = convert_sqlalchemy_relationship (relationship , registry )
76
76
name = relationship .key
0 commit comments