MCPcopy Create free account
hub / github.com/Loping151/RoverSign / _existing_columns

Function _existing_columns

RoverSign/utils/database/auto_migrate.py:92–96  ·  view source on GitHub ↗
(sync_conn, table_name)

Source from the content-addressed store, hash-verified

90 return
91
92 def _existing_columns(sync_conn, table_name):
93 insp = sa_inspect(sync_conn)
94 if not insp.has_table(table_name):
95 return None
96 return {col["name"] for col in insp.get_columns(table_name)}
97
98 pending: List[str] = []
99 try:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected