class MetadataStore: (source)
Known subclasses: mypy.metastore.FilesystemMetadataStore
, mypy.metastore.SqliteMetadataStore
Method | commit |
If the backing store requires a commit, do it. |
Method | getmtime |
Read the mtime of a metadata entry.. |
Method | list_all |
Undocumented |
Method | read |
Read the contents of a metadata entry. |
Method | remove |
Delete a metadata entry |
Method | write |
Write a metadata entry. |
If the backing store requires a commit, do it.
But N.B. that this is not guaranteed to do anything, and there is no guarantee that changes are not made until it is called.
Read the mtime of a metadata entry..
Raises FileNotFound if the entry does not exist.
Parameters | |
name:str | Undocumented |
Returns | |
float | Undocumented |
Read the contents of a metadata entry.
Raises FileNotFound if the entry does not exist.
Parameters | |
name:str | Undocumented |
Returns | |
str | Undocumented |