class SqliteMetadataStore(MetadataStore): (source)
Undocumented
| Method | __init__ |
Undocumented |
| 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. |
| Instance Variable | db |
Undocumented |
| Method | _query |
Undocumented |
mypy.metastore.MetadataStore.commitIf 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.
mypy.metastore.MetadataStore.getmtimeRead the mtime of a metadata entry..
Raises FileNotFound if the entry does not exist.
| Parameters | |
name:str | Undocumented |
| Returns | |
float | Undocumented |
mypy.metastore.MetadataStore.readRead the contents of a metadata entry.
Raises FileNotFound if the entry does not exist.
| Parameters | |
name:str | Undocumented |
| Returns | |
str | Undocumented |
mypy.metastore.MetadataStore.writeWrite a metadata entry.
If mtime is specified, set it as the mtime of the entry. Otherwise, the current time is used.
Returns True if the entry is successfully written, False otherwise.
| Parameters | |
name:str | Undocumented |
data:str | Undocumented |
mtime:Optional[ | Undocumented |
| Returns | |
bool | Undocumented |