Skip to content

Commit c034428

Browse files
committed
Hide all FS serialization in DocGenEncoder
1 parent 1c9c123 commit c034428

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws_doc_sdk_examples_tools/doc_gen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ def default(self, obj):
358358

359359
if isinstance(obj, Fs):
360360
# Don't serialize filesystem objects for security
361-
return {"__fs__": obj.__class__.__name__}
361+
return {}
362362

363363
if isinstance(obj, set):
364364
return {"__set__": list(obj)}

0 commit comments

Comments
 (0)