-
Notifications
You must be signed in to change notification settings - Fork 621
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
feat(sdk): Add Workspace API #7661
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7661 +/- ##
==========================================
- Coverage 74.36% 71.24% -3.13%
==========================================
Files 500 504 +4
Lines 55789 54636 -1153
==========================================
- Hits 41489 38926 -2563
- Misses 13888 15300 +1412
+ Partials 412 410 -2
Flags with carried forward coverage won't be shown. Click here to find out more.
|
d5d125b
to
ba28601
Compare
# these internal objects should be factored out into a separate module as a | ||
# shared dependency between Workspaces and Reports API | ||
from wandb.apis.reports.v2.internal import * # noqa: F403 | ||
from wandb.apis.reports.v2.internal import ( | ||
PanelBankConfig, | ||
PanelBankSectionConfig, | ||
Ref, | ||
Runset, | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes please - I think this should happen first before we get the workspaces API in.
I recommend pulling shared logic first because it'll make tracing code and debugging more clear esp for those who are looking at it for the first time
commenting where our default values lie in FE because we need to match it (after discussing with Andrew)
|
Description
This PR adds limited programmatic control over the workspace in python, including:
Example API usage:
Produces this workspace:
See the colab for more samples:
https://colab.research.google.com/drive/1JSdvDecgKurQlxQG0TAO3GeiYc-fbr_Q#scrollTo=ZAfkP1dtYPgO
Testing
How was this PR tested?