Skip to content

Commit 6729583

Browse files
committed
fix: address review comments (iteration #1)
1 parent 88f910d commit 6729583

File tree

1 file changed

+4
-2
lines changed
  • sagemaker-core/src/sagemaker/core/utils

1 file changed

+4
-2
lines changed

sagemaker-core/src/sagemaker/core/utils/utils.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,8 @@ def pascal_to_snake(pascal_str):
273273

274274

275275
def is_not_primitive(obj):
276-
return not isinstance(obj, (int, float, str, bool, bytes, datetime.datetime))
276+
return not isinstance(obj, (int, float, str, bool, bytes, datetime.datetime))
277+
277278

278279

279280
def is_not_str_dict(obj):
@@ -285,7 +286,8 @@ def is_primitive_list(obj):
285286

286287

287288
def is_primitive_class(cls):
288-
return cls in (str, int, bool, float, bytes, datetime.datetime)
289+
return cls in (str, int, bool, float, bytes, datetime.datetime)
290+
289291

290292

291293
class Unassigned:

0 commit comments

Comments
 (0)