@@ -28,7 +28,7 @@ def construct_fields(model, registry, only_fields, exclude_fields):
2828 is_excluded = name in exclude_fields # or is_already_created
2929 if is_not_in_only or is_excluded :
3030 # 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
3232 continue
3333 converted_column = convert_sqlalchemy_column (column , registry )
3434 fields [name ] = converted_column
@@ -39,7 +39,7 @@ def construct_fields(model, registry, only_fields, exclude_fields):
3939 is_excluded = name in exclude_fields # or is_already_created
4040 if is_not_in_only or is_excluded :
4141 # 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
4343 continue
4444 converted_composite = convert_sqlalchemy_composite (composite , registry )
4545 fields [name ] = converted_composite
@@ -55,7 +55,7 @@ def construct_fields(model, registry, only_fields, exclude_fields):
5555
5656 if is_not_in_only or is_excluded :
5757 # 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
5959 continue
6060
6161 converted_hybrid_property = convert_sqlalchemy_hybrid_method (
@@ -70,7 +70,7 @@ def construct_fields(model, registry, only_fields, exclude_fields):
7070 is_excluded = relationship .key in exclude_fields # or is_already_created
7171 if is_not_in_only or is_excluded :
7272 # 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
7474 continue
7575 converted_relationship = convert_sqlalchemy_relationship (relationship , registry )
7676 name = relationship .key
0 commit comments