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

Method close

geoip.py:173–178  ·  view source on GitHub ↗

Closes the database. The whole object can also be used as a context manager. Databases that are packaged up (such as the :data:`geolite2` database) do not need to be closed.

(self)

Source from the content-addressed store, hash-verified

171 self.close()
172
173 def close(self):
174 """Closes the database. The whole object can also be used as a
175 context manager. Databases that are packaged up (such as the
176 :data:`geolite2` database) do not need to be closed.
177 """
178 self.closed = True
179
180 def get_info(self):
181 """Returns an info object about the database. This can be used to

Callers 7

__exit__Method · 0.95
fetch_fileFunction · 0.45
print_to_fileFunction · 0.45
analyze_domainFunction · 0.45
mainFunction · 0.45
convertMethod · 0.45
closeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected