Skip to content

Update workspace fork to include selective copy #182

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

JakeWags
Copy link
Contributor

@JakeWags JakeWags commented May 22, 2025

Does this PR close any open issues?

Closes #181

Give a longer description of what this PR addresses and why it's needed

Changes the fork call to only include tables/networks that are explicitly defined via query parameters.

Parameters:
tables: comma-separated list of table names to copy
networks: comma-separated list of network names to copy

Example use:
/api/workspaces/miserables/fork/?tables=characters%2Crelationships&networks=miserables
Copies all networks and tables from within the Miserables workspace

TODO:
[ ] - Update multinet frontend API call to include hydrated query params

@JakeWags JakeWags requested a review from JackWilb May 22, 2025 20:51
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.

Expand forking to include selecting tables/networks
1 participant