nvidia-nat-mysql 1.2.0rc5__py3-none-any.whl → 1.2.0rc6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {aiq → nat}/plugins/mysql/mysql_object_store.py +6 -6
- {aiq → nat}/plugins/mysql/object_store.py +7 -7
- {nvidia_nat_mysql-1.2.0rc5.dist-info → nvidia_nat_mysql-1.2.0rc6.dist-info}/METADATA +3 -3
- nvidia_nat_mysql-1.2.0rc6.dist-info/RECORD +9 -0
- nvidia_nat_mysql-1.2.0rc6.dist-info/entry_points.txt +2 -0
- nvidia_nat_mysql-1.2.0rc6.dist-info/top_level.txt +1 -0
- nvidia_nat_mysql-1.2.0rc5.dist-info/RECORD +0 -9
- nvidia_nat_mysql-1.2.0rc5.dist-info/entry_points.txt +0 -2
- nvidia_nat_mysql-1.2.0rc5.dist-info/top_level.txt +0 -1
- {aiq → nat}/plugins/mysql/__init__.py +0 -0
- {aiq → nat}/plugins/mysql/register.py +0 -0
- {nvidia_nat_mysql-1.2.0rc5.dist-info → nvidia_nat_mysql-1.2.0rc6.dist-info}/WHEEL +0 -0
@@ -19,12 +19,12 @@ import pickle
|
|
19
19
|
import aiomysql
|
20
20
|
from aiomysql.pool import Pool
|
21
21
|
|
22
|
-
from
|
23
|
-
from
|
24
|
-
from
|
25
|
-
from
|
26
|
-
from
|
27
|
-
from
|
22
|
+
from nat.data_models.object_store import KeyAlreadyExistsError
|
23
|
+
from nat.data_models.object_store import NoSuchKeyError
|
24
|
+
from nat.object_store.interfaces import ObjectStore
|
25
|
+
from nat.object_store.models import ObjectStoreItem
|
26
|
+
from nat.plugins.mysql.object_store import MySQLObjectStoreClientConfig
|
27
|
+
from nat.utils.type_utils import override
|
28
28
|
|
29
29
|
logger = logging.getLogger(__name__)
|
30
30
|
|
@@ -18,9 +18,9 @@ from typing import ClassVar
|
|
18
18
|
|
19
19
|
from pydantic import Field
|
20
20
|
|
21
|
-
from
|
22
|
-
from
|
23
|
-
from
|
21
|
+
from nat.builder.builder import Builder
|
22
|
+
from nat.cli.register_workflow import register_object_store
|
23
|
+
from nat.data_models.object_store import ObjectStoreBaseConfig
|
24
24
|
|
25
25
|
|
26
26
|
class MySQLObjectStoreClientConfig(ObjectStoreBaseConfig, name="mysql"):
|
@@ -31,10 +31,10 @@ class MySQLObjectStoreClientConfig(ObjectStoreBaseConfig, name="mysql"):
|
|
31
31
|
DEFAULT_HOST: ClassVar[str] = "localhost"
|
32
32
|
DEFAULT_PORT: ClassVar[int] = 3306
|
33
33
|
|
34
|
-
HOST_ENV: ClassVar[str] = "
|
35
|
-
PORT_ENV: ClassVar[str] = "
|
36
|
-
USERNAME_ENV: ClassVar[str] = "
|
37
|
-
PASSWORD_ENV: ClassVar[str] = "
|
34
|
+
HOST_ENV: ClassVar[str] = "NAT_MYSQL_OBJECT_STORE_HOST"
|
35
|
+
PORT_ENV: ClassVar[str] = "NAT_MYSQL_OBJECT_STORE_PORT"
|
36
|
+
USERNAME_ENV: ClassVar[str] = "NAT_MYSQL_OBJECT_STORE_USERNAME"
|
37
|
+
PASSWORD_ENV: ClassVar[str] = "NAT_MYSQL_OBJECT_STORE_PASSWORD"
|
38
38
|
|
39
39
|
bucket_name: str = Field(description="The name of the bucket to use for the object store")
|
40
40
|
host: str = Field(
|
@@ -1,10 +1,10 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: nvidia-nat-mysql
|
3
|
-
Version: 1.2.
|
4
|
-
Summary: Subpackage for MySQL
|
3
|
+
Version: 1.2.0rc6
|
4
|
+
Summary: Subpackage for MySQL integration in NeMo Agent toolkit
|
5
5
|
Keywords: ai,agents,memory,data store
|
6
6
|
Classifier: Programming Language :: Python
|
7
7
|
Requires-Python: >=3.12
|
8
8
|
Description-Content-Type: text/markdown
|
9
|
-
Requires-Dist: nvidia-nat
|
9
|
+
Requires-Dist: nvidia-nat==v1.2.0-rc6
|
10
10
|
Requires-Dist: aiomysql>=0.2.0
|
@@ -0,0 +1,9 @@
|
|
1
|
+
nat/plugins/mysql/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
+
nat/plugins/mysql/mysql_object_store.py,sha256=EXHuA6z28__lH6qhSyGuIPWLPZ-5BzH9EHVCkpDYyvE,8042
|
3
|
+
nat/plugins/mysql/object_store.py,sha256=IWMJFKBhn0lH7UGHuYkYht82TwIe5KXS7VUhQrlNRyI,2600
|
4
|
+
nat/plugins/mysql/register.py,sha256=7gqnwyDrYttIlEaa7lo9AASYt-2GrZJE0YT2jpKjepo,845
|
5
|
+
nvidia_nat_mysql-1.2.0rc6.dist-info/METADATA,sha256=EZeTABKttj1AjVFrDJAuQfUBfjoWcKgdfxv32uLm9gI,341
|
6
|
+
nvidia_nat_mysql-1.2.0rc6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
7
|
+
nvidia_nat_mysql-1.2.0rc6.dist-info/entry_points.txt,sha256=ZI7ielmDX-k_OPXGvpRB5tKFVR5kMCHmHGwLWqxRKh0,56
|
8
|
+
nvidia_nat_mysql-1.2.0rc6.dist-info/top_level.txt,sha256=8-CJ2cP6-f0ZReXe5Hzqp-5pvzzHz-5Ds5H2bGqh1-U,4
|
9
|
+
nvidia_nat_mysql-1.2.0rc6.dist-info/RECORD,,
|
@@ -0,0 +1 @@
|
|
1
|
+
nat
|
@@ -1,9 +0,0 @@
|
|
1
|
-
aiq/plugins/mysql/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
aiq/plugins/mysql/mysql_object_store.py,sha256=lNHCCRf6Wk8bCwKlmbfsjRzjo0-FPe1-b1ev9-NqKfQ,8042
|
3
|
-
aiq/plugins/mysql/object_store.py,sha256=9vfqy812BsbpBYTCUPWBg03d01i37IGpL2PhksWydVY,2600
|
4
|
-
aiq/plugins/mysql/register.py,sha256=7gqnwyDrYttIlEaa7lo9AASYt-2GrZJE0YT2jpKjepo,845
|
5
|
-
nvidia_nat_mysql-1.2.0rc5.dist-info/METADATA,sha256=1b8ErNLu3WUvz1oaCx5Il8H34pfMpg4h9W87hpC6_qc,341
|
6
|
-
nvidia_nat_mysql-1.2.0rc5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
7
|
-
nvidia_nat_mysql-1.2.0rc5.dist-info/entry_points.txt,sha256=3wGjjA7u3oaaqYn9qj0vC-lTX7vspJvE20olFRcUs4U,56
|
8
|
-
nvidia_nat_mysql-1.2.0rc5.dist-info/top_level.txt,sha256=fo7AzYcNhZ_tRWrhGumtxwnxMew4xrT1iwouDy_f0Kc,4
|
9
|
-
nvidia_nat_mysql-1.2.0rc5.dist-info/RECORD,,
|
@@ -1 +0,0 @@
|
|
1
|
-
aiq
|
File without changes
|
File without changes
|
File without changes
|