MCPcopy Create free account
hub / github.com/It4innovations/hyperqueue / python

Function python

tests/utils/cmd.py:4–8  ·  view source on GitHub ↗

Returns commands that will run the specified command as a Python script.

(command: str)

Source from the content-addressed store, hash-verified

2
3
4def python(command: str) -> List[str]:
5 """
6 Returns commands that will run the specified command as a Python script.
7 """
8 return ["python3", "-c", command]
9
10
11def bash(command: str) -> List[str]:

Calls

no outgoing calls