MCPcopy
hub / github.com/eldraco/domain_analyzer / subdivisions

Method subdivisions

geoip.py:88–92  ·  view source on GitHub ↗

The subdivisions as a list of ISO codes as an immutable set.

(self)

Source from the content-addressed store, hash-verified

86
87 @property
88 def subdivisions(self):
89 """The subdivisions as a list of ISO codes as an immutable set."""
90 return frozenset(_native_str(x['iso_code']) for x in
91 self._data.get('subdivisions') or () if 'iso_code'
92 in x)
93
94 @property
95 def timezone(self):

Callers

nothing calls this directly

Calls 1

_native_strFunction · 0.85

Tested by

no test coverage detected