MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / run

Method run

test/sql/test_lambdas.py:2226–2236  ·  view source on GitHub ↗
(num)

Source from the content-addressed store, hash-verified

2224 conns = [engine.connect() for _ in range(self.THREADS)]
2225
2226 def run(num):
2227 wanted = str(num)
2228 connection = conns[num]
2229 time.sleep(0.1)
2230 stmt = generate_lambda_stmt(wanted)
2231 time.sleep(0.1)
2232 row = connection.execute(stmt).first()
2233 if not row:
2234 runs[num] = False
2235 else:
2236 runs[num] = True
2237
2238 threads = [
2239 threading.Thread(target=run, args=(num,))

Callers 9

_testsFunction · 0.45
test_pep484Function · 0.45
test_mypyFunction · 0.45
test_pep8Function · 0.45
typed_results.pyFile · 0.45
find_git_shaFunction · 0.45
goMethod · 0.45

Calls 2

firstMethod · 0.45
executeMethod · 0.45

Tested by

no test coverage detected