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

Check if Python dependencies is installed before setting flag #92

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

jitu5
Copy link
Contributor

@jitu5 jitu5 commented Sep 2, 2024

Description

This PR improves the callPythonScript function and updates its usage in the codebase.

Dev Note

  • callPythonScript now returns a Promise<string> instead of Promise<void>, allowing it to resolve with the script's output (stdout).

  • Updated installDependenciesIfNeeded to check the script's output for a success message and update the the dependenciesInstalled flag.

Signed-off-by: Jitendra Gundaniya <jitendra_gundaniya@mckinsey.com>
@jitu5 jitu5 self-assigned this Sep 2, 2024
@jitu5 jitu5 requested a review from noklam September 2, 2024 17:00
@jitu5 jitu5 changed the title Check if Python dependencies is installed be setting flag Check if Python dependencies is installed before setting flag Sep 2, 2024
This was referenced Sep 2, 2024
@jitu5 jitu5 merged commit fc86ae1 into main Sep 2, 2024
2 checks passed
@jitu5 jitu5 deleted the viz/check_stdout branch September 2, 2024 17:46
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