We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef8b4c3 commit f296713Copy full SHA for f296713
src/codegen/cli/sdk/function.py
@@ -25,6 +25,7 @@ class Function:
25
codemod_id: int
26
version_id: int
27
_api_client: RestAPI | None = None
28
+ _docker_client: DockerClient | None = None
29
30
@classmethod
31
def lookup(cls, name: str) -> "Function":
src/codegen/runner/clients/docker_client.py
@@ -0,0 +1,10 @@
1
+"""Client for interacting with the locally hosted sandbox server hosted on a docker container."""
2
+
3
+from codegen.runner.clients.server_client import LocalServerClient
4
5
6
+class DockerClient(LocalServerClient):
7
+ """Client for interacting with the locally hosted sandbox server hosted on a docker container."""
8
9
+ def __init__(self, repo_config: RepoConfig):
10
+ super().__init__(repo_config, host, port)
0 commit comments