Skip to content

Adapt interfaces to camelcase#200

Merged
ekouts merged 2 commits intoeth-cscs:mainfrom
ekouts:bugfix/adapt_interface
Mar 2, 2026
Merged

Adapt interfaces to camelcase#200
ekouts merged 2 commits intoeth-cscs:mainfrom
ekouts:bugfix/adapt_interface

Conversation

@ekouts
Copy link
Copy Markdown
Collaborator

@ekouts ekouts commented Mar 2, 2026

After version 2.5.0 (PR: eth-cscs/firecrest-v2#180), the responses will include only camelcase fields.

@ekouts ekouts requested review from Copilot and rsarm March 2, 2026 12:23
@ekouts ekouts self-assigned this Mar 2, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the v2 synchronous and asynchronous clients to tolerate FirecREST responses that return camelCase-only fields (post v2.5.0), primarily within transferDirectives for external upload/download flows.

Changes:

  • Add camelCase fallbacks for multipart upload/download directive fields (e.g., partsUploadUrls, maxPartSize, completeUploadUrl, downloadUrl).
  • Update transfer-method selection to read transferMethod (camelCase) in one path per client (sync download, async upload).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.

File Description
firecrest/v2/_sync/Client.py Adds camelCase directive fallbacks for external transfer helpers; updates download() to read transferMethod.
firecrest/v2/_async/Client.py Adds camelCase directive fallbacks for external transfer helpers; updates upload() to read transferMethod.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ekouts ekouts merged commit cee567c into eth-cscs:main Mar 2, 2026
11 checks passed
@ekouts ekouts deleted the bugfix/adapt_interface branch March 2, 2026 13:20
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.

3 participants