Commit f4cb946f authored by Valentin Benozillo's avatar Valentin Benozillo

Restricted: Allow ipaddress module

parent d922508d
...@@ -522,3 +522,12 @@ else: ...@@ -522,3 +522,12 @@ else:
pd.MultiIndex, pd.MultiIndex,
pd.Index, pd.Index,
), True)) ), True))
import ipaddress
allow_module('ipaddress')
allow_type(ipaddress.IPv4Address)
allow_type(ipaddress.IPv6Address)
allow_type(ipaddress.IPv4Network)
allow_type(ipaddress.IPv6Network)
allow_type(ipaddress.IPv4Interface)
allow_type(ipaddress.IPv6Interface)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment