You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Integrations using the econnect-python library currently need to implement their own retry logic for handling temporary errors such as token expiration. This results in duplicated code and inconsistent retry mechanisms across different integrations. It also increases the complexity of the client code.
Describe the solution you'd like
Incorporate a retry mechanism within the econnect-python library itself. The retry logic should handle temporary errors, such as InvalidToken exceptions, by attempting to re-authenticate and retry the operation. The retry mechanism should be configurable to allow customization of retry conditions and limits.
Describe alternatives you've considered
Leaving the retry logic to the client applications, leading to duplicated code and inconsistent retry strategies.
Using third-party libraries such as Tenacity, which would introduce an additional dependency and potential overhead.
Additional context
n/a
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Integrations using the
econnect-python
library currently need to implement their own retry logic for handling temporary errors such as token expiration. This results in duplicated code and inconsistent retry mechanisms across different integrations. It also increases the complexity of the client code.Describe the solution you'd like
Incorporate a retry mechanism within the
econnect-python
library itself. The retry logic should handle temporary errors, such asInvalidToken
exceptions, by attempting to re-authenticate and retry the operation. The retry mechanism should be configurable to allow customization of retry conditions and limits.Describe alternatives you've considered
Additional context
n/a
The text was updated successfully, but these errors were encountered: