Skip to content

simplify the url pattern for cluster_id #272

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

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

minrk
Copy link
Contributor

@minrk minrk commented Feb 7, 2025

rather than requiring it to look like a UUID, accept any single URL path component

results in clearer error: "no such cluster" instead of generic 404 with no matching router and allows for alternate id patterns (e.g. Gateway clusters, which already have ids)

rather than requiring it to look like a UUID, accept any single URL path component

results in clearer error: "no such cluster" instead of generic 404 with no matching router
and allows for alternate id patterns (e.g. Gateway clusters, which already have ids)
Copy link
Member

@jacobtomlinson jacobtomlinson left a comment

Choose a reason for hiding this comment

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

Thanks @minrk

@jacobtomlinson jacobtomlinson merged commit edac755 into dask:main Feb 7, 2025
5 checks passed
@minrk minrk deleted the simpler-regex branch February 9, 2025 06:50
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