nat.plugins.mysql.mysql_object_store#
Attributes#
Classes#
Implementation of ObjectStore that stores objects in a MySQL database. |
Module Contents#
- logger#
- class MySQLObjectStore( )#
Bases:
nat.object_store.interfaces.ObjectStoreImplementation of ObjectStore that stores objects in a MySQL database.
- _bucket_name#
- _host#
- _port#
- _username#
- _password#
- async put_object(key: str, item: nat.object_store.models.ObjectStoreItem)#
- async upsert_object(key: str, item: nat.object_store.models.ObjectStoreItem)#
- async get_object(key: str) nat.object_store.models.ObjectStoreItem#