MCPcopy
hub / github.com/django/django / auth_name

Method auth_name

django/contrib/gis/gdal/srs.py:160–164  ·  view source on GitHub ↗

Return the authority name for the given string target node.

(self, target)

Source from the content-addressed store, hash-verified

158 return capi.get_attr_value(self.ptr, force_bytes(target), index)
159
160 def auth_name(self, target):
161 "Return the authority name for the given string target node."
162 return capi.get_auth_name(
163 self.ptr, target if target is None else force_bytes(target)
164 )
165
166 def auth_code(self, target):
167 "Return the authority code for the given string target node."

Callers 1

test09_authorityMethod · 0.95

Calls 1

force_bytesFunction · 0.90

Tested by 1

test09_authorityMethod · 0.76