-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a23bec7
commit 439ae40
Showing
12 changed files
with
381 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,6 +64,7 @@ docs/_build/ | |
|
||
# PyCharm | ||
.idea/ | ||
*.iml | ||
|
||
# VSCode | ||
.vscode/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
class BhAgentClient: | ||
@staticmethod | ||
def initialize_client(ip_addr: str, port: int) -> BhAgentClient: ... | ||
def get_environments(self) -> list[int]: ... | ||
def get_tempdir(self, env_id: int) -> str: ... | ||
def run_process( | ||
self, | ||
env_id: int, | ||
argv: list[str], | ||
stdin: bool, | ||
stdout: bool, | ||
stderr: bool, | ||
executable: str | None, | ||
env: dict[str, str] | None, | ||
cwd: str | None, | ||
setuid: int | None, | ||
setgid: int | None, | ||
setpgid: int | None, | ||
) -> int: ... | ||
def get_process_channel(self, env_id: int, proc_id: int, channel: int) -> int: ... | ||
def file_open(self, env_id: int, path: str, mode_and_type: str) -> int: ... | ||
def file_close(self, env_id: int, fd: int) -> None: ... | ||
def file_is_closed(self, env_id: int, fd: int) -> bool: ... | ||
def file_is_readable(self, env_id: int, fd: int) -> bool: ... | ||
def file_read(self, env_id: int, fd: int, size: int | None) -> bytes: ... | ||
def file_read_lines(self, env_id: int, fd: int, hint: int) -> list[bytes]: ... | ||
def file_is_seekable(self, env_id: int, fd: int) -> bool: ... | ||
def file_seek(self, env_id: int, fd: int, offset: int, whence: int) -> int: ... | ||
def file_tell(self, env_id: int, fd: int) -> int: ... | ||
def file_is_writable(self, env_id: int, fd: int) -> bool: ... | ||
def file_write(self, env_id: int, fd: int, data: bytes) -> int: ... |
Oops, something went wrong.