Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 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.

3 participants