2.20.1
π¦ CTERA Python SDK β Release Notes
π New Features & Enhancements
-
Bearer Token Support
Support initialization of the CTERA Direct IO client using a Bearer token for flexible authentication options. -
Improved Path Handling
Clients can now use both relative and absolute paths. Previously, paths starting with/
were not allowed β this limitation has been removed! -
Async Team Portal Browsing
TheAsyncGlobalAdmin
object now supports browsing Team Portals. -
Team Portal Impersonation API
Added support for instantiating a Team Portal user session from an admin session using the Impersonation API, available viaGlobalAdmin
andAsyncGlobalAdmin
. -
File Handle Support
New ability to:- Obtain a handle for an individual file
- Generate a handle for a ZIP archive containing multiple files
-
Upload from File Handle
Support for uploading files directly from a file-like object (handle). -
Asynchronous File Operations (asyncio)
Async support for file operations enables easier implementation of a CTERA Portal MCP Server. Supported methods include:handle
,handle_many
,upload
,upload_file
,mkdir
,makedirs
,listdir
,walk
versions
,rename
,delete
,undelete
,copy
,move
,permalink
-
Refactored File Access Library
Common infrastructure for sync and async file operations to reduce duplication and improve maintainability. -
Improved Unit Testing Infrastructure
- Shared infrastructure to patch calls for testing
- Added unit tests for:
- Retrieving versions
mkdir
- File browser functionality
-
New File Access Exceptions
Introduced new exception classes for granular error handling during file operations.
π§Ύ Documentation Updates
- Fixed documentation for CTERA Direct IO client initialization
- Added new documentation for managing Edge Filer storage arrays