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)
| 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 |
no outgoing calls
no test coverage detected