Skip to content

Comments

Fix API calls of URLs with dashes#8

Merged
dlucredativ merged 1 commit intomainfrom
fix_dash_urls
Feb 18, 2026
Merged

Fix API calls of URLs with dashes#8
dlucredativ merged 1 commit intomainfrom
fix_dash_urls

Conversation

@dlucredativ
Copy link
Contributor

And endpoint like /cluster/backup-info/not-backed-up is translated to a call path api.cluster.backup_info.not_backed_up.get(), but in wrapper mode this has resulted in a request for /cluster/backup_info/not_backed_up.

This is hopefully only a quickfix. Long-term there should be @typing.overload's for __call__.

And endpoint like `/cluster/backup-info/not-backed-up` is
translated to a call path `api.cluster.backup_info.not_backed_up.get()`,
but in wrapper mode this has resulted in a request for
`/cluster/backup_info/not_backed_up`.

This is hopefully only a quickfix.
Long-term there should be @typing.overload's for __call__.
@dlucredativ dlucredativ merged commit 4e2d7df into main Feb 18, 2026
4 checks passed
@dlucredativ dlucredativ deleted the fix_dash_urls branch February 18, 2026 12:48
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.

1 participant