Skip to content

feat: add support data method on responses#184

Open
drish wants to merge 4 commits intomainfrom
feat/support-data-method
Open

feat: add support data method on responses#184
drish wants to merge 4 commits intomainfrom
feat/support-data-method

Conversation

@drish
Copy link
Collaborator

@drish drish commented Feb 5, 2026

Summary by cubic

Add attribute-style access to API responses via ResponseDict, so you can use response.data, response.id, etc., while keeping dict access. Bumps SDK version to 2.22.0.

  • New Features
    • Wrap dict responses in ResponseDict to support both response['data'] and response.data; missing attributes raise AttributeError.

Written for commit 65b9d52. Summary will update on new commits.

@drish drish requested a review from gabrielmfern February 5, 2026 23:37
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 4 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant