Skip to content

Conversation

@paulgb
Copy link
Member

@paulgb paulgb commented Feb 18, 2025

No description provided.


import httpx
from httpx_ws import WebSocketSession, connect_ws
from python.sdk.forevervm_sdk import DEFAULT_INSTRUCTION_TIMEOUT_SECONDS
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Importing DEFAULT_INSTRUCTION_TIMEOUT_SECONDS from init.py here creates a circular dependency (since init.py imports Repl from repl.py). Consider moving shared constants to a separate module to break the cycle.

@paulgb paulgb force-pushed the paul/dis-3214-expose-timeout_seconds-for-exec_async branch from aa09546 to d188b3d Compare February 18, 2025 15:42
class ReplExecResult:
_request_id = -1
_instruction_id = -1
_output = deque[StandardOutput]()
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the changes here are related but came up during linting and minimal enough that I threw them into this PR

@paulgb paulgb merged commit 5f1fd61 into main Feb 18, 2025
2 checks passed
@paulgb paulgb deleted the paul/dis-3214-expose-timeout_seconds-for-exec_async branch February 18, 2025 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants