Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ def _get_shape_attr_documentation_string(
# exclude resource attributes from documentation
continue
else:
if documentation == None:
if documentation is None:
documentation_string += f"{attribute_snake}: \n"
else:
documentation_string += f"{attribute_snake}: {documentation}\n"
Expand Down
2 changes: 1 addition & 1 deletion sagemaker-core/src/sagemaker/core/tools/templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ def populate_chained_attributes(resource_name: str, operation_input_args: Union[

if value == Unassigned() :
unassigned_args.append(arg)
elif value == None or not value:
elif value is None or not value:
continue
elif (
arg_snake.endswith("name")
Expand Down
Loading