Skip to content

Python client renames related to session file upload/download#44114

Merged
dargilco merged 7 commits into
feature/foundry-releasefrom
dargilco/updates-to-support-python-file-upload-download
Jun 23, 2026
Merged

Python client renames related to session file upload/download#44114
dargilco merged 7 commits into
feature/foundry-releasefrom
dargilco/updates-to-support-python-file-upload-download

Conversation

@dargilco

@dargilco dargilco commented Jun 19, 2026

Copy link
Copy Markdown
Member

This change does not affect the REST API spec. I allows emitted clients (Python in this case) to update the name of uploaded file path in the sandbox from "path" to something more descriptive like "remote_path". Python client will also have a method to read file directly from disk, and that file name will be called "file_path", so I would like to distinguish between local path to read and target (report) path where it will be stored.

Unfortunately the only way to do this rename in a separate client.tsp file is to define all the request element in a separate TypeSpec model and reference it when defining the operations. That's what I'm doing here for the file session operations.

I'll make a feature request from the emitter team to be able to directly rename an input argument of an operation, without the need to first declare it in a TypeSpec model.

@github-actions

github-actions Bot commented Jun 19, 2026

Copy link
Copy Markdown

Next Steps to Merge

Important checks have failed. As of today they are not blocking this PR, but in near future they may.
Addressing the following failures is highly recommended:
  • ⚠️ The check named Swagger BreakingChange has failed. To unblock this PR, follow the process at aka.ms/brch.
If you still want to proceed merging this PR without addressing the above failures, refer to step 4 in the PR workflow diagram.

Comment generated by summarize-checks workflow run.

…rgilco/updates-to-support-python-file-upload-download
@github-actions github-actions Bot added data-plane TypeSpec Authored with TypeSpec labels Jun 19, 2026
@dargilco dargilco marked this pull request as draft June 19, 2026 23:43
@github-actions

github-actions Bot commented Jun 19, 2026

Copy link
Copy Markdown

API Change Check

APIView identified API level changes in this PR and created the following API reviews

Language API Review for Package
TypeSpec Azure.AI.Projects
Python azure-ai-projects
JavaScript @azure/ai-projects

Comment generated by After APIView workflow run.

@dargilco dargilco marked this pull request as ready for review June 22, 2026 12:44
dargilco added 2 commits June 22, 2026 22:36
…rgilco/updates-to-support-python-file-upload-download
@dargilco dargilco merged commit e6bbd1f into feature/foundry-release Jun 23, 2026
15 of 22 checks passed
@dargilco dargilco deleted the dargilco/updates-to-support-python-file-upload-download branch June 23, 2026 05:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data-plane TypeSpec Authored with TypeSpec

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants