Files
Forge-Engine/screens/flow/get_flow_node.py
T
williamandwilliam 3f4ebc4527
Build and deploy / build-and-push (push) Successful in 17s
Build and deploy / deploy (push) Successful in 10s
first commit
2026-08-21 16:23:49 +02:00

9 lines
217 B
Python

import db
def get_flow_node(slug, node_id):
conn = db.connect(slug)
row = conn.execute("SELECT * FROM _flow_nodes WHERE id = ?", (node_id,)).fetchone()
conn.close()
return dict(row) if row else None