Skip to content

Commit a2d0941

Browse files
committed
typo
1 parent 42d84c9 commit a2d0941

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cloudformation_cli_python_lib/recast.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def _field_to_type(field: Any, key: str, classes: Dict[str, Any]) -> Any:
5757
return field
5858
# If it's a ForwardRef we need to find base type
5959
if isinstance(field, get_forward_ref_type()):
60-
# Assuming codegen added an _ as a prefix, removing it and then gettting the
60+
# Assuming codegen added an _ as a prefix, removing it and then getting the
6161
# class from model classes
6262
return classes[field.__forward_arg__[1:]]
6363
# Assuming this is a generic object created by typing.Union
@@ -77,7 +77,7 @@ def _field_to_type(field: Any, key: str, classes: Dict[str, Any]) -> Any:
7777
return field
7878
# If it's a ForwardRef we need to find base type
7979
if isinstance(field, get_forward_ref_type()):
80-
# Assuming codegen added an _ as a prefix, removing it and then gettting the
80+
# Assuming codegen added an _ as a prefix, removing it and then getting the
8181
# class from model classes
8282
return classes[field.__forward_arg__[1:]]
8383
# If it's not a type we don't know how to handle we bail

0 commit comments

Comments
 (0)