Skip to content

Update dependencies and refactor API client for async support#13

Merged
Yanivridel merged 6 commits intomasterfrom
feat/ori/update-python-sdk-to-asyncio
Aug 21, 2025
Merged

Update dependencies and refactor API client for async support#13
Yanivridel merged 6 commits intomasterfrom
feat/ori/update-python-sdk-to-asyncio

Conversation

@oricho123
Copy link
Collaborator

  • Changed Python version requirement from 3.9 to 3.8.
  • Updated urllib3 version constraint to >= 1.25.3, < 3.0.0.
  • Added aiohttp and aiohttp-retry as dependencies.
  • Refactored API client and related API methods to support asynchronous operations.
  • Updated documentation examples to reflect async usage.
  • Adjusted unit tests to utilize async test cases.

- Changed Python version requirement from 3.9 to 3.8.
- Updated urllib3 version constraint to >= 1.25.3, < 3.0.0.
- Added aiohttp and aiohttp-retry as dependencies.
- Refactored API client and related API methods to support asynchronous operations.
- Updated documentation examples to reflect async usage.
- Adjusted unit tests to utilize async test cases.
@oricho123 oricho123 self-assigned this Jun 26, 2025
- Add sdk_logger.py utility for consistent logging
- Add log_sdk_usage calls to all API methods:
  🌍 Environment Variables API
  🔑 Secrets API
  📝 Logs API
  📬 Queue API
  💾 Storage API
  🔐 Secure Storage API
- Update version to 0.0.1
- All changes are immediately visible in quickstart projects
@Yanivridel Yanivridel merged commit 83efbd4 into master Aug 21, 2025
5 checks passed
Shaharshaki2 added a commit that referenced this pull request Feb 8, 2026
- Add async/await to ObjectStorage methods to match other APIs
- Align with async refactor from master (#13)
- Update documentation and tests for async usage

Co-authored-by: Cursor <cursoragent@cursor.com>
Shaharshaki2 added a commit that referenced this pull request Feb 8, 2026
* Add ObjectStorage API support

- Add ObjectStorageApi with upload, download, list, delete, and info methods
- Add ObjectStorage model classes (DeleteFileResponse, DownloadFileResponse, FileInfo, etc.)
- Add ObjectStorage documentation and test files
- Update __init__.py files to export ObjectStorage classes

Co-authored-by: Cursor <cursoragent@cursor.com>

* Update ObjectStorage API to use async methods

- Regenerate with --library asyncio flag to preserve async API style
- All ObjectStorage methods now use async/await syntax
- Maintains consistency with existing async APIs

Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix: Convert ObjectStorage API to synchronous methods

- Remove async/await from ObjectStorage API methods
- Align with existing synchronous API style used in the SDK
- Fixes compatibility with existing codebase

Co-authored-by: Cursor <cursoragent@cursor.com>

* bump to version 2.1.0

Co-authored-by: Cursor <cursoragent@cursor.com>

* Update ObjectStorage API to use async methods

- Add async/await to ObjectStorage methods to match other APIs
- Align with async refactor from master (#13)
- Update documentation and tests for async usage

Co-authored-by: Cursor <cursoragent@cursor.com>

* run the script again and fix issues

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

2 participants