dbgraph 0.2.8__tar.gz → 0.2.9__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 (97) hide show
  1. {dbgraph-0.2.8 → dbgraph-0.2.9}/.idea/workspace.xml +23 -14
  2. {dbgraph-0.2.8 → dbgraph-0.2.9}/PKG-INFO +13 -13
  3. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/__init__.py +2 -0
  4. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/entity/aspect.py +1 -1
  5. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/persistent/orm_graph_persistent.py +1 -0
  6. {dbgraph-0.2.8 → dbgraph-0.2.9}/pyproject.toml +13 -13
  7. dbgraph-0.2.9/tests/units/dbgraph.log +0 -0
  8. {dbgraph-0.2.8 → dbgraph-0.2.9}/tests/units/test_orm_graph_persistent.py +3 -0
  9. {dbgraph-0.2.8 → dbgraph-0.2.9}/uv.lock +300 -239
  10. {dbgraph-0.2.8 → dbgraph-0.2.9}/.gitignore +0 -0
  11. {dbgraph-0.2.8 → dbgraph-0.2.9}/.idea/.gitignore +0 -0
  12. {dbgraph-0.2.8 → dbgraph-0.2.9}/.idea/codeStyles/codeStyleConfig.xml +0 -0
  13. {dbgraph-0.2.8 → dbgraph-0.2.9}/.idea/dbgraph.iml +0 -0
  14. {dbgraph-0.2.8 → dbgraph-0.2.9}/.idea/inspectionProfiles/profiles_settings.xml +0 -0
  15. {dbgraph-0.2.8 → dbgraph-0.2.9}/.idea/misc.xml +0 -0
  16. {dbgraph-0.2.8 → dbgraph-0.2.9}/.idea/modules.xml +0 -0
  17. {dbgraph-0.2.8 → dbgraph-0.2.9}/.idea/pydantic.xml +0 -0
  18. {dbgraph-0.2.8 → dbgraph-0.2.9}/.idea/vcs.xml +0 -0
  19. {dbgraph-0.2.8 → dbgraph-0.2.9}/.python-version +0 -0
  20. {dbgraph-0.2.8 → dbgraph-0.2.9}/README.md +0 -0
  21. {dbgraph-0.2.8 → dbgraph-0.2.9}/data/northwind-desc.md +0 -0
  22. {dbgraph-0.2.8 → dbgraph-0.2.9}/data/northwind-graph-import.db +0 -0
  23. {dbgraph-0.2.8 → dbgraph-0.2.9}/data/northwind-graph-v2.json +0 -0
  24. {dbgraph-0.2.8 → dbgraph-0.2.9}/data/northwind-graph-v4.json +0 -0
  25. {dbgraph-0.2.8 → dbgraph-0.2.9}/data/northwind-graph.db +0 -0
  26. {dbgraph-0.2.8 → dbgraph-0.2.9}/data/northwind-graph.json +0 -0
  27. {dbgraph-0.2.8 → dbgraph-0.2.9}/data/northwind-graph.png +0 -0
  28. {dbgraph-0.2.8 → dbgraph-0.2.9}/data/northwind-index/corpus.jsonl +0 -0
  29. {dbgraph-0.2.8 → dbgraph-0.2.9}/data/northwind-index/corpus.mmindex.json +0 -0
  30. {dbgraph-0.2.8 → dbgraph-0.2.9}/data/northwind-index/data.csc.index.npy +0 -0
  31. {dbgraph-0.2.8 → dbgraph-0.2.9}/data/northwind-index/indices.csc.index.npy +0 -0
  32. {dbgraph-0.2.8 → dbgraph-0.2.9}/data/northwind-index/indptr.csc.index.npy +0 -0
  33. {dbgraph-0.2.8 → dbgraph-0.2.9}/data/northwind-index/params.index.json +0 -0
  34. {dbgraph-0.2.8 → dbgraph-0.2.9}/data/northwind-index/vocab.index.json +0 -0
  35. {dbgraph-0.2.8 → dbgraph-0.2.9}/data/northwind-semantic-v5.json +0 -0
  36. {dbgraph-0.2.8 → dbgraph-0.2.9}/data/northwind.db +0 -0
  37. {dbgraph-0.2.8 → dbgraph-0.2.9}/data/time-results.txt +0 -0
  38. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/builder/__init__.py +0 -0
  39. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/builder/graph_builder.py +0 -0
  40. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/builder/sql_graph_builder.py +0 -0
  41. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/descriptor/__init__.py +0 -0
  42. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/descriptor/graph_descriptor.py +0 -0
  43. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/descriptor/langchain_graph_descriptor.py +0 -0
  44. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/descriptor/prompt_templates.py +0 -0
  45. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/entity/__init__.py +0 -0
  46. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/entity/asset.py +0 -0
  47. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/entity/asset_type.py +0 -0
  48. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/entity/dbgraph.py +0 -0
  49. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/entity/link.py +0 -0
  50. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/entity/link_type.py +0 -0
  51. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/entity/rdbgraph.py +0 -0
  52. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/io/__init__.py +0 -0
  53. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/io/graph_loader.py +0 -0
  54. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/io/graph_writer.py +0 -0
  55. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/io/json_graph_loader.py +0 -0
  56. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/io/json_graph_writer.py +0 -0
  57. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/persistent/__init__.py +0 -0
  58. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/persistent/graph_not_found.py +0 -0
  59. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/persistent/graph_persistent.py +0 -0
  60. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/persistent/models/__init__.py +0 -0
  61. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/persistent/models/asset_aspect_orm.py +0 -0
  62. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/persistent/models/asset_orm.py +0 -0
  63. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/persistent/models/base.py +0 -0
  64. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/persistent/models/graph_orm.py +0 -0
  65. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/persistent/models/link_aspect_orm.py +0 -0
  66. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/persistent/models/link_orm.py +0 -0
  67. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/render/__init__.py +0 -0
  68. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/render/graph_renderer.py +0 -0
  69. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/render/markdown_renderer.py +0 -0
  70. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/search/__init__.py +0 -0
  71. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/search/bm25_search_engine.py +0 -0
  72. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/search/search_engine.py +0 -0
  73. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/utils/__init__.py +0 -0
  74. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/utils/logging.py +0 -0
  75. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/utils/serialize.py +0 -0
  76. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph/utils/singleton.py +0 -0
  77. {dbgraph-0.2.8 → dbgraph-0.2.9}/dbgraph.log +0 -0
  78. {dbgraph-0.2.8 → dbgraph-0.2.9}/diagrams/entity.png +0 -0
  79. {dbgraph-0.2.8 → dbgraph-0.2.9}/diagrams/entity.txt +0 -0
  80. {dbgraph-0.2.8 → dbgraph-0.2.9}/diagrams/usecase.png +0 -0
  81. {dbgraph-0.2.8 → dbgraph-0.2.9}/diagrams/usecase.txt +0 -0
  82. {dbgraph-0.2.8 → dbgraph-0.2.9}/docs/index.md +0 -0
  83. {dbgraph-0.2.8 → dbgraph-0.2.9}/docs/refs/aspect.md +0 -0
  84. {dbgraph-0.2.8 → dbgraph-0.2.9}/docs/refs/graph.md +0 -0
  85. {dbgraph-0.2.8 → dbgraph-0.2.9}/main.py +0 -0
  86. {dbgraph-0.2.8 → dbgraph-0.2.9}/mkdocs.yml +0 -0
  87. {dbgraph-0.2.8 → dbgraph-0.2.9}/tests/__init__.py +0 -0
  88. {dbgraph-0.2.8 → dbgraph-0.2.9}/tests/integrates/__init__.py +0 -0
  89. {dbgraph-0.2.8 → dbgraph-0.2.9}/tests/integrates/test_json_graph_loader.py +0 -0
  90. {dbgraph-0.2.8 → dbgraph-0.2.9}/tests/integrates/test_json_graph_writer.py +0 -0
  91. {dbgraph-0.2.8 → dbgraph-0.2.9}/tests/integrates/test_langchain_graph_descriptor.py +0 -0
  92. {dbgraph-0.2.8 → dbgraph-0.2.9}/tests/integrates/test_sql_graph_builder.py +0 -0
  93. {dbgraph-0.2.8 → dbgraph-0.2.9}/tests/integrates/test_trino_builder.py +0 -0
  94. {dbgraph-0.2.8 → dbgraph-0.2.9}/tests/units/__init__.py +0 -0
  95. {dbgraph-0.2.8 → dbgraph-0.2.9}/tests/units/test_dbgraph.py +0 -0
  96. {dbgraph-0.2.8 → dbgraph-0.2.9}/tests/units/test_markdown_renderer.py +0 -0
  97. {dbgraph-0.2.8 → dbgraph-0.2.9}/tests/units/test_rdbgraph.py +0 -0
@@ -6,6 +6,12 @@
6
6
  <component name="ChangeListManager">
7
7
  <list default="true" id="263a96da-9a82-40fd-89b2-ba71dd2c194d" name="Changes" comment="update sql builder and tests">
8
8
  <change beforePath="$PROJECT_DIR$/.idea/dbgraph.iml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/dbgraph.iml" afterDir="false" />
9
+ <change beforePath="$PROJECT_DIR$/dbgraph/__init__.py" beforeDir="false" afterPath="$PROJECT_DIR$/dbgraph/__init__.py" afterDir="false" />
10
+ <change beforePath="$PROJECT_DIR$/dbgraph/entity/aspect.py" beforeDir="false" afterPath="$PROJECT_DIR$/dbgraph/entity/aspect.py" afterDir="false" />
11
+ <change beforePath="$PROJECT_DIR$/dbgraph/persistent/orm_graph_persistent.py" beforeDir="false" afterPath="$PROJECT_DIR$/dbgraph/persistent/orm_graph_persistent.py" afterDir="false" />
12
+ <change beforePath="$PROJECT_DIR$/pyproject.toml" beforeDir="false" afterPath="$PROJECT_DIR$/pyproject.toml" afterDir="false" />
13
+ <change beforePath="$PROJECT_DIR$/tests/units/test_orm_graph_persistent.py" beforeDir="false" afterPath="$PROJECT_DIR$/tests/units/test_orm_graph_persistent.py" afterDir="false" />
14
+ <change beforePath="$PROJECT_DIR$/uv.lock" beforeDir="false" afterPath="$PROJECT_DIR$/uv.lock" afterDir="false" />
9
15
  </list>
10
16
  <option name="SHOW_DIALOG" value="false" />
11
17
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -50,6 +56,9 @@
50
56
  &quot;repository&quot;: &quot;dbgraph&quot;
51
57
  }
52
58
  }</component>
59
+ <component name="ProblemsViewState">
60
+ <option name="selectedTabId" value="ProjectErrors" />
61
+ </component>
53
62
  <component name="ProjectColorInfo">{
54
63
  &quot;associatedIndex&quot;: 0,
55
64
  &quot;fromUser&quot;: false
@@ -137,7 +146,7 @@
137
146
  <recent name="C:\Users\minhden\Projects\dbgraph\tests\units" />
138
147
  </key>
139
148
  </component>
140
- <component name="RunManager" selected="Python tests.Python tests for tests.integrates.test_trino_builder.TestTrinoBuilder.test__get_table_orm">
149
+ <component name="RunManager" selected="Python tests.Python tests in units">
141
150
  <configuration name="Python tests for tests.integrates.test_sql_graph_builder.TestSQLGraphBuilder.test_build_graph" type="tests" factoryName="Autodetect" temporary="true" nameIsGenerated="true">
142
151
  <module name="dbgraph" />
143
152
  <option name="ENV_FILES" value="" />
@@ -155,7 +164,7 @@
155
164
  <option name="_new_targetType" value="&quot;PYTHON&quot;" />
156
165
  <method v="2" />
157
166
  </configuration>
158
- <configuration name="Python tests for tests.integrates.test_trino_builder.TestTrinoBuilder.test__get_cat_stats_aspect" type="tests" factoryName="Autodetect" temporary="true" nameIsGenerated="true">
167
+ <configuration name="Python tests for tests.integrates.test_trino_builder.TestTrinoBuilder.test__get_table_orm" type="tests" factoryName="Autodetect" temporary="true" nameIsGenerated="true">
159
168
  <module name="dbgraph" />
160
169
  <option name="ENV_FILES" value="" />
161
170
  <option name="INTERPRETER_OPTIONS" value="" />
@@ -168,11 +177,11 @@
168
177
  <option name="DEBUG_JUST_MY_CODE" value="false" />
169
178
  <option name="RUN_TOOL" value="" />
170
179
  <option name="_new_additionalArguments" value="&quot;&quot;" />
171
- <option name="_new_target" value="&quot;tests.integrates.test_trino_builder.TestTrinoBuilder.test__get_cat_stats_aspect&quot;" />
180
+ <option name="_new_target" value="&quot;tests.integrates.test_trino_builder.TestTrinoBuilder.test__get_table_orm&quot;" />
172
181
  <option name="_new_targetType" value="&quot;PYTHON&quot;" />
173
182
  <method v="2" />
174
183
  </configuration>
175
- <configuration name="Python tests for tests.integrates.test_trino_builder.TestTrinoBuilder.test__get_table_orm" type="tests" factoryName="Autodetect" temporary="true" nameIsGenerated="true">
184
+ <configuration name="Python tests for tests.integrates.test_trino_builder.TestTrinoBuilder.test__get_table_row_count" type="tests" factoryName="Autodetect" temporary="true" nameIsGenerated="true">
176
185
  <module name="dbgraph" />
177
186
  <option name="ENV_FILES" value="" />
178
187
  <option name="INTERPRETER_OPTIONS" value="" />
@@ -185,11 +194,11 @@
185
194
  <option name="DEBUG_JUST_MY_CODE" value="false" />
186
195
  <option name="RUN_TOOL" value="" />
187
196
  <option name="_new_additionalArguments" value="&quot;&quot;" />
188
- <option name="_new_target" value="&quot;tests.integrates.test_trino_builder.TestTrinoBuilder.test__get_table_orm&quot;" />
197
+ <option name="_new_target" value="&quot;tests.integrates.test_trino_builder.TestTrinoBuilder.test__get_table_row_count&quot;" />
189
198
  <option name="_new_targetType" value="&quot;PYTHON&quot;" />
190
199
  <method v="2" />
191
200
  </configuration>
192
- <configuration name="Python tests for tests.integrates.test_trino_builder.TestTrinoBuilder.test__get_table_row_count" type="tests" factoryName="Autodetect" temporary="true" nameIsGenerated="true">
201
+ <configuration name="Python tests for tests.integrates.test_trino_builder.TestTrinoBuilder.test_build_graph" type="tests" factoryName="Autodetect" temporary="true" nameIsGenerated="true">
193
202
  <module name="dbgraph" />
194
203
  <option name="ENV_FILES" value="" />
195
204
  <option name="INTERPRETER_OPTIONS" value="" />
@@ -200,36 +209,36 @@
200
209
  <option name="ADD_CONTENT_ROOTS" value="true" />
201
210
  <option name="ADD_SOURCE_ROOTS" value="true" />
202
211
  <option name="DEBUG_JUST_MY_CODE" value="false" />
203
- <option name="RUN_TOOL" value="" />
212
+ <option name="RUN_TOOL" value="true" />
204
213
  <option name="_new_additionalArguments" value="&quot;&quot;" />
205
- <option name="_new_target" value="&quot;tests.integrates.test_trino_builder.TestTrinoBuilder.test__get_table_row_count&quot;" />
214
+ <option name="_new_target" value="&quot;tests.integrates.test_trino_builder.TestTrinoBuilder.test_build_graph&quot;" />
206
215
  <option name="_new_targetType" value="&quot;PYTHON&quot;" />
207
216
  <method v="2" />
208
217
  </configuration>
209
- <configuration name="Python tests for tests.integrates.test_trino_builder.TestTrinoBuilder.test_build_graph" type="tests" factoryName="Autodetect" temporary="true" nameIsGenerated="true">
218
+ <configuration name="Python tests in units" type="tests" factoryName="Autodetect" temporary="true" nameIsGenerated="true">
210
219
  <module name="dbgraph" />
211
220
  <option name="ENV_FILES" value="" />
212
221
  <option name="INTERPRETER_OPTIONS" value="" />
213
222
  <option name="PARENT_ENVS" value="true" />
214
223
  <option name="SDK_HOME" value="" />
215
- <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
224
+ <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/tests/units" />
216
225
  <option name="IS_MODULE_SDK" value="true" />
217
226
  <option name="ADD_CONTENT_ROOTS" value="true" />
218
227
  <option name="ADD_SOURCE_ROOTS" value="true" />
219
228
  <option name="DEBUG_JUST_MY_CODE" value="false" />
220
- <option name="RUN_TOOL" value="true" />
229
+ <option name="RUN_TOOL" value="" />
221
230
  <option name="_new_additionalArguments" value="&quot;&quot;" />
222
- <option name="_new_target" value="&quot;tests.integrates.test_trino_builder.TestTrinoBuilder.test_build_graph&quot;" />
223
- <option name="_new_targetType" value="&quot;PYTHON&quot;" />
231
+ <option name="_new_target" value="&quot;$PROJECT_DIR$/tests/units&quot;" />
232
+ <option name="_new_targetType" value="&quot;PATH&quot;" />
224
233
  <method v="2" />
225
234
  </configuration>
226
235
  <recent_temporary>
227
236
  <list>
237
+ <item itemvalue="Python tests.Python tests in units" />
228
238
  <item itemvalue="Python tests.Python tests for tests.integrates.test_trino_builder.TestTrinoBuilder.test__get_table_orm" />
229
239
  <item itemvalue="Python tests.Python tests for tests.integrates.test_sql_graph_builder.TestSQLGraphBuilder.test_build_graph" />
230
240
  <item itemvalue="Python tests.Python tests for tests.integrates.test_trino_builder.TestTrinoBuilder.test__get_table_row_count" />
231
241
  <item itemvalue="Python tests.Python tests for tests.integrates.test_trino_builder.TestTrinoBuilder.test_build_graph" />
232
- <item itemvalue="Python tests.Python tests for tests.integrates.test_trino_builder.TestTrinoBuilder.test__get_cat_stats_aspect" />
233
242
  </list>
234
243
  </recent_temporary>
235
244
  </component>
@@ -1,30 +1,30 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: dbgraph
3
- Version: 0.2.8
3
+ Version: 0.2.9
4
4
  Summary: dbgraph is a database profiling tool which model the database as a graph
5
5
  Requires-Python: >=3.11
6
- Requires-Dist: bm25s>=0.3.9
7
- Requires-Dist: build>=1.6.0
6
+ Requires-Dist: bm25s==0.3.11
7
+ Requires-Dist: build==1.6.1
8
8
  Requires-Dist: grip>=4.6.2
9
- Requires-Dist: langchain-openai>=1.6.0
10
- Requires-Dist: langchain>=1.3.16
11
- Requires-Dist: matplotlib>=3.11.0
9
+ Requires-Dist: langchain-openai==1.6.5
10
+ Requires-Dist: langchain==1.4.2
11
+ Requires-Dist: matplotlib==3.11.2
12
12
  Requires-Dist: mkdocs-gen-files>=0.6.1
13
13
  Requires-Dist: mkdocs-material>=9.7.7
14
14
  Requires-Dist: mkdocs>=1.6.1
15
15
  Requires-Dist: mkdocstrings[python]>=1.0.6
16
- Requires-Dist: openai>=2.45.0
16
+ Requires-Dist: openai==3.19.2
17
17
  Requires-Dist: psutil>=7.2.2
18
- Requires-Dist: pydantic>=2.13.4
18
+ Requires-Dist: pydantic==2.13.5
19
19
  Requires-Dist: pydot>=4.0.1
20
20
  Requires-Dist: pympler>=1.1
21
21
  Requires-Dist: pyrefly>=0.60.0
22
22
  Requires-Dist: pystemmer>=3.1.0
23
- Requires-Dist: python-dotenv>=1.2.2
24
- Requires-Dist: rustworkx>=0.18.0
25
- Requires-Dist: sqlalchemy>=2.0.52
26
- Requires-Dist: tqdm>=4.68.4
27
- Requires-Dist: trino>=0.339.0
23
+ Requires-Dist: python-dotenv==1.2.3
24
+ Requires-Dist: rustworkx==0.18.1
25
+ Requires-Dist: sqlalchemy==2.0.54
26
+ Requires-Dist: tqdm==4.70.1
27
+ Requires-Dist: trino==0.340.0
28
28
  Description-Content-Type: text/markdown
29
29
 
30
30
  # DBGraph - Building schema graph with LLM Assistance
@@ -6,6 +6,7 @@ from dbgraph.entity.link_type import LinkType
6
6
  from dbgraph.builder.sql_graph_builder import SQLGraphBuilder
7
7
  from dbgraph.descriptor.langchain_graph_descriptor import LangchainGraphDescriptor
8
8
  from dbgraph.render.markdown_renderer import MarkdownRenderer
9
+ from dbgraph.persistent.orm_graph_persistent import ORMGraphPersistent
9
10
 
10
11
  __all__ = [
11
12
  "Asset",
@@ -16,4 +17,5 @@ __all__ = [
16
17
  "SQLGraphBuilder",
17
18
  "LangchainGraphDescriptor",
18
19
  "MarkdownRenderer",
20
+ "ORMGraphPersistent"
19
21
  ]
@@ -134,7 +134,7 @@ class RColumnStatisticsAspect(Aspect):
134
134
 
135
135
  non_null_count: int
136
136
  null_count: int
137
- is_textual: bool
137
+ is_textual: bool = False
138
138
  numerical_stats: RNumericalStatistics | None = None
139
139
  categorical_stats: RCategoricalStatistics | None = None
140
140
  temporal_stats: RTemporalStatistics | None = None
@@ -212,6 +212,7 @@ class ORMGraphPersistent(GraphPersistent):
212
212
  categorical_stats=categorical_aspect,
213
213
  numerical_stats=numerical_aspect,
214
214
  temporal_stats=temp_aspect,
215
+ is_textual=aspect_data["is_textual"]
215
216
  )
216
217
  case "semantic_properties":
217
218
  aspect = SemanticAspect(**aspect_data)
@@ -4,33 +4,33 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "dbgraph"
7
- version = "0.2.8"
7
+ version = "0.2.9"
8
8
  description = "dbgraph is a database profiling tool which model the database as a graph"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
11
11
  dependencies = [
12
- "bm25s>=0.3.9",
13
- "build>=1.6.0",
12
+ "bm25s==0.3.11",
13
+ "build==1.6.1",
14
14
  "grip>=4.6.2",
15
- "langchain>=1.3.16",
16
- "langchain-openai>=1.6.0",
17
- "matplotlib>=3.11.0",
15
+ "langchain==1.4.2",
16
+ "langchain-openai==1.6.5",
17
+ "matplotlib==3.11.2",
18
18
  "mkdocs>=1.6.1",
19
19
  "mkdocs-gen-files>=0.6.1",
20
20
  "mkdocs-material>=9.7.7",
21
21
  "mkdocstrings[python]>=1.0.6",
22
- "openai>=2.45.0",
22
+ "openai==3.19.2",
23
23
  "psutil>=7.2.2",
24
- "pydantic>=2.13.4",
24
+ "pydantic==2.13.5",
25
25
  "pydot>=4.0.1",
26
26
  "pympler>=1.1",
27
27
  "pyrefly>=0.60.0",
28
28
  "pystemmer>=3.1.0",
29
- "python-dotenv>=1.2.2",
30
- "rustworkx>=0.18.0",
31
- "sqlalchemy>=2.0.52",
32
- "tqdm>=4.68.4",
33
- "trino>=0.339.0",
29
+ "python-dotenv==1.2.3",
30
+ "rustworkx==0.18.1",
31
+ "sqlalchemy==2.0.54",
32
+ "tqdm==4.70.1",
33
+ "trino==0.340.0",
34
34
  ]
35
35
 
36
36
  [tool.setuptools.packages.find]
File without changes
@@ -84,6 +84,7 @@ class TestORMGraphPersistent(unittest.TestCase):
84
84
  name="column-1-1-statistic",
85
85
  non_null_count=0,
86
86
  null_count=0,
87
+ is_textual=False,
87
88
  numerical_stats=RNumericalStatistics(min=0, max=0, mean=0),
88
89
  categorical_stats=None,
89
90
  ),
@@ -108,6 +109,7 @@ class TestORMGraphPersistent(unittest.TestCase):
108
109
  non_null_count=0,
109
110
  null_count=0,
110
111
  numerical_stats=None,
112
+ is_textual=False,
111
113
  categorical_stats=RCategoricalStatistics(
112
114
  value_counts={"1": 1, "2": 2}
113
115
  ),
@@ -132,6 +134,7 @@ class TestORMGraphPersistent(unittest.TestCase):
132
134
  name="column-2-1-statistic",
133
135
  non_null_count=0,
134
136
  null_count=0,
137
+ is_textual=False,
135
138
  numerical_stats=None,
136
139
  categorical_stats=None,
137
140
  temporal_stats=RTemporalStatistics(