Skip to content

Commit 55affd3

Browse files
fix: use is None instead of == None (PEP 8 E711)
1 parent f8df0a7 commit 55affd3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sagemaker-core/src/sagemaker/core/tools/templates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ def populate_chained_attributes(resource_name: str, operation_input_args: Union[
644644
645645
if value == Unassigned() :
646646
unassigned_args.append(arg)
647-
elif value == None or not value:
647+
elif value is None or not value:
648648
continue
649649
elif (
650650
arg_snake.endswith("name")

0 commit comments

Comments
 (0)