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 get_current_workspace cloud client method #15542

Merged
merged 1 commit into from
Sep 30, 2024
Merged

Conversation

zzstoatzz
Copy link
Collaborator

@zzstoatzz zzstoatzz commented Sep 30, 2024

this PR adds a cloud client method to read the current workspace. it also deprecates prefect cloud open in favor of the more general prefect dashboard open


copilot summary

Deprecation and Command Updates:

Workspace Management:

Testing Enhancements:

  • tests/client/test_cloud_client.py: Added a new test test_read_current_workspace to ensure the read_current_workspace method correctly retrieves the current workspace.

@zzstoatzz zzstoatzz added cli Related to the Prefect CLI development Tech debt, refactors, CI, tests, and other related work. labels Sep 30, 2024
Copy link

codspeed-hq bot commented Sep 30, 2024

CodSpeed Performance Report

Merging #15542 will not alter performance

Comparing get-current-workspace (add29f1) with main (bc43e28)

Summary

✅ 3 untouched benchmarks

@zzstoatzz zzstoatzz marked this pull request as ready for review September 30, 2024 19:34
@zzstoatzz zzstoatzz merged commit ef71b83 into main Sep 30, 2024
40 checks passed
@zzstoatzz zzstoatzz deleted the get-current-workspace branch September 30, 2024 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Related to the Prefect CLI development Tech debt, refactors, CI, tests, and other related work.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants