MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / connect

Method connect

tests/fixtures/sample.py:53–57  ·  view source on GitHub ↗

Establish the connection asynchronously.

(self)

Source from the content-addressed store, hash-verified

51
52 @retry
53 async def connect(self) -> bool:
54 """Establish the connection asynchronously."""
55 log(f"Connecting to {self._name}:{self.__port}")
56 self._connected = True
57 return True
58
59 def disconnect(self) -> None:
60 self._connected = False

Callers 15

acquireMethod · 0.95
make_dbMethod · 0.45
build_fixtureFunction · 0.45
read_hermes_usageFunction · 0.45
evaluate_assertionsFunction · 0.45
open_localMethod · 0.45
open_read_onlyFunction · 0.45
test_connFunction · 0.45
mem_connFunction · 0.45

Calls 1

logFunction · 0.70

Tested by 15

make_dbMethod · 0.36
test_connFunction · 0.36
mem_connFunction · 0.36
test_connFunction · 0.36
write_sqlite_placeholderFunction · 0.36
open_test_db_connectionFunction · 0.36
set_user_versionFunction · 0.36
drop_memory_factsFunction · 0.36
table_existsFunction · 0.36
project_column_existsFunction · 0.36