mirror of
https://github.com/kennethreitz/instructor.git
synced 2026-06-05 22:50:18 +00:00
319ddd69f8
* Move examples to dir and fix imports * Install erdantic and pygraphviz * Add schema function and image * Separate erd diagram function from example script --------- Co-authored-by: Jason Liu <jxnl@users.noreply.github.com>
7 lines
165 B
Python
7 lines
165 B
Python
from erdantic import erd
|
|
|
|
from query_planner_execution import QueryPlan
|
|
|
|
diagram = erd.create(QueryPlan)
|
|
diagram.draw("examples/query_planner_execution/schema.png")
|