-
Notifications
You must be signed in to change notification settings - Fork 2
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
workspace handles #554
base: master
Are you sure you want to change the base?
workspace handles #554
Conversation
@devxpy do you want to review and merge this part first? - adding workspace->handle to DB and allowing workspace admins to edit it. Or, to wait and review it along with the UI changes for rendering the workspace page on |
return new_handle | ||
|
||
|
||
def update_handle(handle: Handle | None, name: str | None) -> Handle | None: |
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.
this could be a method on Handle?
I do think the better path would be to move handles from app user to workspace entirely, but I guess this is easier |
I was thinking the same, but not entirely. On the users' profile page, we do include contributions to other workspaces and I think that's the way we want it. I also think it's likely that we might want to allow adding saved runs from another workspace to a user's profile a la github |
I meant more like how we transferred billing info from user to workspace so its consistent and we can always refer to current_workspace.handle |
that makes sense to me 👍 |
Q/A checklist
You can visualize this using tuna:
To measure import time for a specific library:
To reduce import times, import libraries that take a long time inside the functions that use them instead of at the top of the file:
Legal Boilerplate
Look, I get it. The entity doing business as “Gooey.AI” and/or “Dara.network” was incorporated in the State of Delaware in 2020 as Dara Network Inc. and is gonna need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Dara Network Inc can use, modify, copy, and redistribute my contributions, under its choice of terms.