Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

add experiment info when use python launch #3210

Merged
merged 3 commits into from
Dec 21, 2020
Merged

Conversation

J-shang
Copy link
Contributor

@J-shang J-shang commented Dec 18, 2020

No description provided.

@@ -64,7 +67,7 @@ def _ensure_port_idle(port: int, message: Optional[str] = None) -> None:
raise RuntimeError(f'Port {port} is not idle {message}')


def _start_rest_server(config: ExperimentConfig, port: int, debug: bool, experiment_id: str, pipe_path: str) -> Popen:
def _start_rest_server(config: ExperimentConfig, port: int, debug: bool, experiment_id: str, pipe_path: str) -> [int, Popen]:
Copy link
Contributor

Choose a reason for hiding this comment

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

The type hint should be Tuple[int, Popen]

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fix it

@liuzhe-lz liuzhe-lz changed the base branch from master to v2.0 December 21, 2020 05:31
@J-shang J-shang merged commit 5f0ac59 into microsoft:v2.0 Dec 21, 2020
@J-shang J-shang deleted the fix-exp branch December 21, 2020 12:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants