Closed IridiumOxide closed 11 months ago
The updates to the Aperture SDK involve significant changes in error handling and resource management. Exception classes and the close
method have been removed, suggesting a shift in how the SDK manages errors and cleans up resources. Additionally, the SDK now includes better error handling for gRPC calls, with specific response types for cache operations, and the introduction of state cache management methods.
File Path | Change Summary |
---|---|
.../aperture_sdk/client.py .../aperture_sdk/flow.py |
- Removed RejectedFlowException , ApertureException , and close method.- Updated start_flow to capture exceptions and modified wrapper to return on_reject result.- Added grpc import and introduced error handling for gRPC calls.- Updated return types for cache operations and added error handling.- Added state cache management methods. |
🐇✨ To the code that's been refined, Farewell to the errors entwined. With gRPC's embrace, We cache with more grace, And leave old exception paths behind. 🌟🚀
Description of change
Checklist
Summary by CodeRabbit
New Features
Improvements
Flow
object.Removed
Documentation