MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / extract

Function extract

tools/toxnox.py:198–203  ·  view source on GitHub ↗
(arg: str)

Source from the content-addressed store, hash-verified

196 return_args = [False for arg in args]
197
198 def extract(arg: str) -> bool:
199 if arg in look_for_args:
200 return_args[look_for_args[arg]] = True
201 return True
202 else:
203 return False
204
205 return [arg for arg in posargs if not extract(arg)], return_tuple(
206 *return_args

Callers 1

extract_optsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected