Skip to content

Commit 662f9ba

Browse files
committed
adding ip address modules safe for import
1 parent 5a7ded3 commit 662f9ba

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

deepdiff/serialization.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,12 @@ class UnsupportedFormatErr(TypeError):
8686
'collections.OrderedDict',
8787
're.Pattern',
8888
'deepdiff.helper.Opcode',
89+
'ipaddress.IPv4Interface',
90+
'ipaddress.IPv6Interface',
91+
'ipaddress.IPv4Network',
92+
'ipaddress.IPv6Network',
93+
'ipaddress.IPv4Address',
94+
'ipaddress.IPv6Address',
8995
}
9096

9197

0 commit comments

Comments
 (0)