Skip to content

simplify the url pattern for cluster_id#272

Merged
jacobtomlinson merged 1 commit intodask:mainfrom
minrk:simpler-regex
Feb 7, 2025
Merged

simplify the url pattern for cluster_id#272
jacobtomlinson merged 1 commit intodask:mainfrom
minrk:simpler-regex

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