Current preview:
0.1.0rc4. Include --pre while Galileo is in preview.Resources
Client lifetime
Use a context manager to close its HTTP connections:Configuration
Evaluation creation is sent once because a repeated submission can create a second evaluation. Rate-limit responses use their own time and attempt limits.
Errors
CatchGalileoError for any SDK failure. API failures inherit from APIError and include InvalidRequestError, AuthenticationError, NotFoundError, InsufficientCreditsError, RateLimitError, and ServerError. Transport and polling failures use ConnectionError and PollTimeoutError.
View the source on GitHub.