feat: Build complete POC for Butler model (client, matrix, daemon)
This commit is contained in:
13
connector-superoffice/inspect_simple.py
Normal file
13
connector-superoffice/inspect_simple.py
Normal file
@@ -0,0 +1,13 @@
|
||||
import sqlite3
|
||||
|
||||
conn = sqlite3.connect("marketing_matrix.db")
|
||||
c = conn.cursor()
|
||||
|
||||
print(f"{'V_ID':<5} | {'R_ID':<5} | {'SUBJECT':<30} | {'INTRO':<30}")
|
||||
print("-" * 80)
|
||||
|
||||
for row in c.execute("SELECT * FROM text_blocks"):
|
||||
v_id, r_id, subj, intro, proof = row
|
||||
print(f"{v_id:<5} | {r_id:<5} | {subj:<30} | {intro:<30}")
|
||||
|
||||
conn.close()
|
||||
Reference in New Issue
Block a user