-
Notifications
You must be signed in to change notification settings - Fork 172
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
Accept and pass kwargs to _api.get() #665
Labels
enhancement
New features/functionality
Comments
efojs
changed the title
Accept and pass kwargs to _api.get() in
Accept and pass kwargs to _api.get()
Jan 17, 2023
Note, that if you want to have a specific exception type retried, then you can always modify the class retry like so: from restfly.errors import NotFoundError
NotFoundError.retryable = True |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I get
500
sometimes when requesting/assets/<uuid>
.Error message recommends to retry: "Please wait a moment and try your request again"
I want to retry by passing
retry_on
to RESTfly'sAPISession._req
:via
But
AssetsAPI.details()
accepts onlyuuid
:pyTenable/tenable/io/assets.py
Line 55 in 414cd4a
Would be great to accept and pass
kwargs
in all methods withreturn self._api.get()
Or is there a reason that I don't see why
kwargs
are not passed?The text was updated successfully, but these errors were encountered: