MCPcopy Create free account
hub / github.com/OpenHands/OpenHands / row2dict

Function row2dict

openhands/app_server/utils/sql_utils.py:111–116  ·  view source on GitHub ↗
(row)

Source from the content-addressed store, hash-verified

109
110
111def row2dict(row):
112 d = {}
113 for column in row.__table__.columns:
114 d[column.name] = getattr(row, column.name)
115
116 return d

Calls

no outgoing calls

Tested by

no test coverage detected