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

Expose programmatic equivalent of CLI commands #1853

Closed
araghukas opened this issue Nov 20, 2023 · 1 comment
Closed

Expose programmatic equivalent of CLI commands #1853

araghukas opened this issue Nov 20, 2023 · 1 comment
Assignees
Labels
feature New feature addition

Comments

@araghukas
Copy link
Contributor

What should we add?

For example:

from covalent_dispatcher import covalent_start, covalent_stop

# start covalent server from Python
covalent_start()

# stop covalent server from Python
covalent_stop()

These functions should consider pitfalls, like submitting a workflow immediately after starting covalent (i.e. the known missing dispatcher address error).

Describe alternatives you've considered.

This is doable using subprocess to issue "covalent start" or "covalent stop" shell commands.

@araghukas araghukas added the feature New feature addition label Nov 20, 2023
@araghukas araghukas self-assigned this Nov 20, 2023
@kessler-frost
Copy link
Member

Implemented in #1854.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature addition
Projects
None yet
Development

No branches or pull requests

2 participants