Azure / Azure/azure-sdk-for-python

Migrate Storage File to TypeSpec

Aperta
#45,670 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@l0lawrence ci sta già lavorando.

Dal 12/3/2026.

Epic
Lingua principale
Python
Stelle
5.6k
Fork
3.4k
Merge medio
2g 2h
PR unite (30g)
213

Descrizione

Goal

Update the Storage File package to use TypeSpec instead of autorest

Principles

  • This is primarily an exercise to migrate the tool chain. This is NOT an exercise to
    • Improve the convenience layer to latest guidelines
    • Ask for new complex features in TypeSpec in order to remove already written manual convenience layer. For instance, paging in Storage couldn't be generated with autorest and was manually written. We don't plan to make TypeSpec support Storage paging out of the box, we'll just keep for now the convenience layer that exists. Easy TypeSpec update can be considered, as long as this doesn't impact the timeline in an unhealthy way.
  • As this is an internal toolchain update, there should be no reason to update tests or re-record tests. It's actually a great regression testing to confirm that we're able to change the internal layers of Storage, without having to touch the test folder at all
  • No breaking changes are allowed (APIView shouldn't even realize there was a change)

Spec

We owned this branch, and should push all tspconfig and client.tsp updates directly there (no review needed yet):
https://github.com/Azure/azure-rest-api-specs/tree/feature/file-tsp/specification/storage/data-plane/FileStorage

tsplocation should target this branch for now

Reference

More details and update on the loop paage

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.