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
Enhance graph limits and materialization features with improved models (#59)
## Summary
This PR significantly enhances the robosystems client by expanding graph
limits functionality and improving the materialization system. The
changes introduce new content and quota management models while
refactoring existing structures for better API consistency.
## Key Accomplishments
### New Features
- **Content Limits Management**: Added comprehensive content limits
tracking and validation
- **Download Quota System**: Implemented download quota management with
detailed tracking capabilities
- **Enhanced Materialization**: Expanded materialization
request/response handling with improved limit checking
- **Graph Limits API**: Extended graph limits endpoint with additional
functionality
### Model Improvements
- Added `ContentLimits` model for comprehensive limit management
- Introduced `DownloadQuota` model for quota tracking and enforcement
- Enhanced `MaterializeResponse` with improved limit validation and type
checking
- Expanded `ValidationError` with better context handling
- Refactored `GraphSubscriptionTier` for improved tier management
### API Enhancements
- Updated graph tiers endpoint with improved tier availability logic
- Enhanced materialization endpoint with better request/response
handling
- Improved graph limits endpoint with additional metadata
## Breaking Changes
- Removed `CreditLimits` model in favor of more granular limit models
- Refactored file structure with model renames:
- `storage_info_overage_pricing.py` →
`materialize_response_limit_check_type_0.py`
- `storage_info_included_per_tier.py` → `validation_error_context.py`
- Updated import paths and dependencies in `__init__.py`
## Testing Notes
- Verify all graph limits functionality works with new model structure
- Test materialization workflows with enhanced request/response handling
- Validate quota management and download limit enforcement
- Ensure backward compatibility where possible with existing
integrations
## Infrastructure Considerations
- Models have been restructured to improve maintainability and API
consistency
- Enhanced error handling and validation throughout the materialization
pipeline
- Improved type safety with better model definitions and validation
contexts
---
🤖 Generated with [Claude Code](https://claude.ai/code)
**Branch Info:**
- Source: `chore/update-packages`
- Target: `main`
- Type: feature
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments