Skip to content

[Storage FileDatalake] Migrating to TypeSpec#45883

Draft
l0lawrence wants to merge 63 commits into
Azure:mainfrom
l0lawrence:filedatalake
Draft

[Storage FileDatalake] Migrating to TypeSpec#45883
l0lawrence wants to merge 63 commits into
Azure:mainfrom
l0lawrence:filedatalake

Conversation

@l0lawrence

@l0lawrence l0lawrence commented Mar 24, 2026

Copy link
Copy Markdown
Member

re-recorded tests related to append_data content-type issue

***we patched convenience layer to fix resourcenotexists condition not met issue

need to regen, fix models patch and fix formatting

@github-actions github-actions Bot added the Storage Storage Service (Queues, Blobs, Files) label Mar 24, 2026
@l0lawrence

Copy link
Copy Markdown
Member Author

/azp run python - storage - tests

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@l0lawrence

Copy link
Copy Markdown
Member Author

need to fix versioning*

from typing_extensions import Self

from azure.core import CaseInsensitiveEnumMeta
from azure.storage.filedatalake._generated.models._patch import _BackCompatMixin

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

these need attr map

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

and some might have had xml_map

)
path_client = AzureDataLakeStorageRESTAPI(
url, version=self._api_version, filesystem=self.file_system_name, path=deleted_path_name, pipeline=pipeline
url, filesystem=self.file_system_name, path=deleted_path_name, pipeline=pipeline

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

just checking, no need to pass in version here?

# --------------------------------------------------------------------------

VERSION = "12.26.0b1"
VERSION = "1.0.0b1"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

this might need correcting :)

# to ResourceModifiedError based on x-ms-error-code.
if isinstance(
storage_error,
(PartialBatchErrorException, ClientAuthenticationError, ResourceNotFoundError, ResourceExistsError),

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Generated code how it handles generated error mapping is the reasoning for this diff**

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Storage Storage Service (Queues, Blobs, Files)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants