MCPcopy
hub / github.com/django/django / auth_code

Method auth_code

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

Return the authority code for the given string target node.

(self, target)

Source from the content-addressed store, hash-verified

164 )
165
166 def auth_code(self, target):
167 "Return the authority code for the given string target node."
168 return capi.get_auth_code(
169 self.ptr, target if target is None else force_bytes(target)
170 )
171
172 def clone(self):
173 "Return a clone of this SpatialReference object."

Callers 2

sridMethod · 0.95
test09_authorityMethod · 0.95

Calls 1

force_bytesFunction · 0.90

Tested by 1

test09_authorityMethod · 0.76