MCPcopy
hub / github.com/Ontos-AI/knowhere / execute

Method execute

apps/api/tests/support/contract_database.py:25–35  ·  view source on GitHub ↗
(
        cls,
        statement: str,
        parameters: dict[str, object] | None = None,
    )

Source from the content-addressed store, hash-verified

23class ContractDatabase:
24 @classmethod
25 async def execute(
26 cls,
27 statement: str,
28 parameters: dict[str, object] | None = None,
29 ) -> None:
30 engine = await _create_contract_engine()
31 try:
32 async with engine.begin() as connection:
33 await connection.execute(text(statement), parameters or {})
34 finally:
35 await engine.dispose()
36
37 @classmethod
38 async def fetch_one(

Callers 15

upgradeFunction · 0.45
downgradeFunction · 0.45
upgradeFunction · 0.45
upgradeFunction · 0.45
downgradeFunction · 0.45
upgradeFunction · 0.45
downgradeFunction · 0.45
_resolve_api_key_idMethod · 0.45
buy_credits_packageMethod · 0.45

Calls 1

_create_contract_engineFunction · 0.70