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 API to reload state from FS. #1294

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

Conversation

nikp1172
Copy link

@nikp1172 nikp1172 commented Sep 10, 2024

Had to recreate a PR for this: #1281 (comment)

@DimaAmega
Copy link
Collaborator

@nikp1172 you have to fix mypy check

@DimaAmega
Copy link
Collaborator

Also add your reload_projects handler to this route_handlers

@DimaAmega
Copy link
Collaborator

@nikp1172 Hi there, would you be interested in continuing to work on this PR? :)

@@ -405,6 +415,7 @@ def create_projects_api(guard: Callable) -> Router:
project_dashboard,
list_snapshots,
get_snapshot_metadata,
reload_projects,
Copy link
Collaborator

@DimaAmega DimaAmega Sep 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reload_projects performs mutation, so move it to the router below

@DimaAmega
Copy link
Collaborator

Hi @nikp1172

You have conflicts in your branch

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