Skip to content

Commit 8896248

Browse files
committed
Add docstring for metadata method
1 parent 952f40b commit 8896248

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

geoip2/database.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,10 @@ def _flat_model_for(self, model_class, types, ip_address):
130130
return model_class(record)
131131

132132
def metadata(self):
133+
"""The metadata for the open database
134+
135+
:returns: :py:class:`maxminddb.reader.Metadata` object
136+
"""
133137
return self._db_reader.metadata()
134138

135139
def close(self):

0 commit comments

Comments
 (0)