sqlh 0.3.2__tar.gz → 0.3.3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: sqlh
3
- Version: 0.3.2
3
+ Version: 0.3.3
4
4
  Summary: A lightweight SQL lineage analysis library for tracking table dependencies in data pipelines
5
5
  Keywords: sql,lineage,data-pipeline,dag,dependency,database,etl,data-engineering
6
6
  Requires-Python: >=3.10
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "sqlh"
3
- version = "0.3.2"
3
+ version = "0.3.3"
4
4
 
5
5
  description = "A lightweight SQL lineage analysis library for tracking table dependencies in data pipelines"
6
6
  readme = "README.md"
@@ -14,7 +14,7 @@ from .utils import (
14
14
  table_count
15
15
  )
16
16
 
17
- __version__ = "0.3.2"
17
+ __version__ = "0.3.3"
18
18
 
19
19
  __all__ = [
20
20
  "split_sql",
@@ -351,6 +351,8 @@ class DagGraph:
351
351
  mermaid_str = f"graph {direction}"
352
352
  for _from, _to in self.__edges:
353
353
  mermaid_str += f"\n {_from} --> {_to}"
354
+ # 去除花括号
355
+ mermaid_str = mermaid_str.replace("{", "").replace("}", "")
354
356
  return mermaid_str
355
357
 
356
358
  def to_dict(self) -> dict:
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes