cjm-graph-plugin-sqlite 0.0.6__tar.gz → 0.0.8__tar.gz

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.
Files changed (18) hide show
  1. {cjm_graph_plugin_sqlite-0.0.6/cjm_graph_plugin_sqlite.egg-info → cjm_graph_plugin_sqlite-0.0.8}/PKG-INFO +2 -2
  2. cjm_graph_plugin_sqlite-0.0.8/cjm_graph_plugin_sqlite/__init__.py +1 -0
  3. {cjm_graph_plugin_sqlite-0.0.6 → cjm_graph_plugin_sqlite-0.0.8}/cjm_graph_plugin_sqlite/plugin.py +4 -1
  4. {cjm_graph_plugin_sqlite-0.0.6 → cjm_graph_plugin_sqlite-0.0.8/cjm_graph_plugin_sqlite.egg-info}/PKG-INFO +2 -2
  5. cjm_graph_plugin_sqlite-0.0.8/cjm_graph_plugin_sqlite.egg-info/requires.txt +1 -0
  6. {cjm_graph_plugin_sqlite-0.0.6 → cjm_graph_plugin_sqlite-0.0.8}/pyproject.toml +1 -1
  7. cjm_graph_plugin_sqlite-0.0.6/cjm_graph_plugin_sqlite/__init__.py +0 -1
  8. cjm_graph_plugin_sqlite-0.0.6/cjm_graph_plugin_sqlite.egg-info/requires.txt +0 -1
  9. {cjm_graph_plugin_sqlite-0.0.6 → cjm_graph_plugin_sqlite-0.0.8}/LICENSE +0 -0
  10. {cjm_graph_plugin_sqlite-0.0.6 → cjm_graph_plugin_sqlite-0.0.8}/MANIFEST.in +0 -0
  11. {cjm_graph_plugin_sqlite-0.0.6 → cjm_graph_plugin_sqlite-0.0.8}/README.md +0 -0
  12. {cjm_graph_plugin_sqlite-0.0.6 → cjm_graph_plugin_sqlite-0.0.8}/cjm_graph_plugin_sqlite/_modidx.py +0 -0
  13. {cjm_graph_plugin_sqlite-0.0.6 → cjm_graph_plugin_sqlite-0.0.8}/cjm_graph_plugin_sqlite/meta.py +0 -0
  14. {cjm_graph_plugin_sqlite-0.0.6 → cjm_graph_plugin_sqlite-0.0.8}/cjm_graph_plugin_sqlite.egg-info/SOURCES.txt +0 -0
  15. {cjm_graph_plugin_sqlite-0.0.6 → cjm_graph_plugin_sqlite-0.0.8}/cjm_graph_plugin_sqlite.egg-info/dependency_links.txt +0 -0
  16. {cjm_graph_plugin_sqlite-0.0.6 → cjm_graph_plugin_sqlite-0.0.8}/cjm_graph_plugin_sqlite.egg-info/entry_points.txt +0 -0
  17. {cjm_graph_plugin_sqlite-0.0.6 → cjm_graph_plugin_sqlite-0.0.8}/cjm_graph_plugin_sqlite.egg-info/top_level.txt +0 -0
  18. {cjm_graph_plugin_sqlite-0.0.6 → cjm_graph_plugin_sqlite-0.0.8}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cjm-graph-plugin-sqlite
3
- Version: 0.0.6
3
+ Version: 0.0.8
4
4
  Summary: A local, file-backed Context Graph worker for the cjm-plugin-system that implements graph storage, traversal, and querying using SQLite.
5
5
  Author-email: "Christian J. Mills" <9126128+cj-mills@users.noreply.github.com>
6
6
  License: Apache-2.0
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 3 :: Only
15
15
  Requires-Python: >=3.12
16
16
  Description-Content-Type: text/markdown
17
17
  License-File: LICENSE
18
- Requires-Dist: cjm_graph_plugin_system>=0.0.7
18
+ Requires-Dist: cjm_graph_plugin_system>=0.0.9
19
19
  Dynamic: license-file
20
20
 
21
21
  # cjm-graph-plugin-sqlite
@@ -0,0 +1 @@
1
+ __version__ = "0.0.8"
@@ -12,6 +12,7 @@ import json
12
12
  import logging
13
13
  import os
14
14
  import sqlite3
15
+ from cjm_plugin_system.core.errors import PluginInputError
15
16
  import time
16
17
  from dataclasses import dataclass, field
17
18
  from typing import Any, Dict, List, Optional, Tuple, Union
@@ -303,7 +304,9 @@ class SQLiteGraphPlugin(GraphPlugin):
303
304
  return {"status": "not_implemented", "query": str(query)}
304
305
 
305
306
  else:
306
- raise ValueError(f"Unknown action: {action}")
307
+ raise PluginInputError( # SG-47: typed input-validation
308
+ f"Unknown action: {action}", fields_invalid=["action"],
309
+ )
307
310
 
308
311
  # -------------------------------------------------------------------------
309
312
  # CREATE
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cjm-graph-plugin-sqlite
3
- Version: 0.0.6
3
+ Version: 0.0.8
4
4
  Summary: A local, file-backed Context Graph worker for the cjm-plugin-system that implements graph storage, traversal, and querying using SQLite.
5
5
  Author-email: "Christian J. Mills" <9126128+cj-mills@users.noreply.github.com>
6
6
  License: Apache-2.0
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 3 :: Only
15
15
  Requires-Python: >=3.12
16
16
  Description-Content-Type: text/markdown
17
17
  License-File: LICENSE
18
- Requires-Dist: cjm_graph_plugin_system>=0.0.7
18
+ Requires-Dist: cjm_graph_plugin_system>=0.0.9
19
19
  Dynamic: license-file
20
20
 
21
21
  # cjm-graph-plugin-sqlite
@@ -0,0 +1 @@
1
+ cjm_graph_plugin_system>=0.0.9
@@ -12,7 +12,7 @@ license = {text = "Apache-2.0"}
12
12
  authors = [{name = "Christian J. Mills", email = "9126128+cj-mills@users.noreply.github.com"}]
13
13
  keywords = ['nbdev', 'jupyter', 'notebook', 'python']
14
14
  classifiers = ["Natural Language :: English", "Intended Audience :: Developers", "Development Status :: 3 - Alpha", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only"]
15
- dependencies = ['cjm_graph_plugin_system>=0.0.7']
15
+ dependencies = ['cjm_graph_plugin_system>=0.0.9']
16
16
 
17
17
  [project.urls]
18
18
  Repository = "https://github.com/cj-mills/cjm-graph-plugin-sqlite"
@@ -1 +0,0 @@
1
- __version__ = "0.0.6"
@@ -1 +0,0 @@
1
- cjm_graph_plugin_system>=0.0.7