You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Initial migration
* Refactor
* Update mock transport
* pylint
* adding accept sanitization to conftest
* pin new version of azure-core
* regen
* prpoject version
* remove
* patch remove fix
* fix client helpers
* regen
* pyproject
* pylint
* remove redudant lines
* tests all passing
* pylint
* regen
* pylint
* regen
* Apply suggestion from @l0lawrence
* Apply suggestion from @l0lawrence
* prproject
* Apply suggestion from @l0lawrence
* regen w new config
* Fix pylint errors in azure-storage-file-share
Move pylint disable comments to the correct lines where violations
occur (protected-access, unused-argument) and fix implicit string
concatenation in _parser.py.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Fix model subclasses to call super().__init__ and remove models _patch hacks
Refactor the 10 custom subclasses in azure/storage/fileshare/_models.py
(RetentionPolicy, Metrics, CorsRule, SmbMultichannel, SmbEncryptionInTransit,
ShareSmbSettings, NfsEncryptionInTransit, ShareNfsSettings,
ShareProtocolSettings, AccessPolicy) so they no longer shadow the parent
_RestField descriptors and properly delegate to super().__init__(**kwargs).
With the subclasses fixed at the source, the runtime monkey-patches in
_generated/models/_patch.py (_patched_getattr/setattr/getattribute/new) are
no longer needed; revert that file to the empty stock template.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* regen
* mypy/pylint fix
* regen
* regen renamed a param
Co-authored-by: Copilot <copilot@github.com>
* Align _shared upload helpers with azure-storage-blob TSP migration
Port changes from azure-storage-blob storageblob3 branch to keep _shared
files consistent across Storage packages:
- request_handlers.py: collapse split string literals
- uploads.py / uploads_async.py: switch BlockBlob/PageBlob/AppendBlob
ChunkUploader callers to keyword args and to the new etag /
match_condition / append_position kwarg names; pop those kwargs in
upload_data_chunks and upload_substream_blocks when running in parallel.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Fix FileProperty datetime fields: declare as str, not RFC7231 datetime
The wire format for creationTime/lastAccessTime/lastWriteTime/changeTime
is ISO 8601, not RFC 7231 (only Last-Modified is RFC 7231). Declaring
them as Optional[datetime.datetime] with format="rfc7231" causes the
XML deserializer to fail and leave a raw xml.etree.ElementTree.Element
in _data, which crashes JSON serialization downstream (Azure CLI).
Match the legacy SDK behavior by declaring these fields as Optional[str].
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* wip changes from running against azure cli
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* also patch here for backcompat
* regen
* Fix pylint: relocate disable comments in _models.py
- Move 'protected-access' disables from closing-bracket lines onto the
lines where '_from_generated' is actually accessed (Metrics,
SharePropertiesPaged, HandlesPaged).
- Use scoped 'disable/enable=protected-access' block in
DirectoryPropertiesPaged._extract_data_cb (two accesses too long to
carry inline disables under the 120-char limit).
- Add 'unused-argument' disables to the backcompat **kwargs catch-all
__init__ methods on SmbMultichannel, SmbEncryptionInTransit,
ShareSmbSettings, NfsEncryptionInTransit, ShareNfsSettings, and
ShareProtocolSettings.
No logic changes.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* client docstring
* todo
* regen
* fixing up backcompat models for api parity
* update wrapper for iter_bytes
* tests/samples w/o formatting changes
* regen with newest emitter
* update policies
* regen
* pylint
* account for xml element
* add 3.14
* updates to models
* black
* linting
* blakc
* missing impl
* par with queue
* patch operation upload_range for parity
* map output to the public model
* add _validation
* add xml map name for backcompat
* black
* this
* this
* cleaning code
* Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* cleaning up
* here
* align _shared
* update iterator wrapper
* _shared parity
* _shared align
* pass metadata api check
* nit
* remove blob/datalake tsp changes
* rangepolicy (need to add to queue _shared)
* access_conditions -> lease_id
* remove useless-suppression
* dont need to strip here
* dont do strip_url, just dont pass snapshot explicitly
* regen
* update changelog
* changelog + readme 3.9
* api metadata
* publicly expose signedIdentifier
* simplify patch file
* update changelogs to catalog leaking
* clean up patches
* add back conftest
---------
Co-authored-by: antisch <antisch@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: l0lawrence <l0lawrence@users.noreply.github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copy file name to clipboardExpand all lines: sdk/storage/azure-storage-file-share/CHANGELOG.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,14 @@
4
4
5
5
### Features Added
6
6
7
+
### Bugs Fixed
8
+
- Return type of get_share_access_policies is now the publicly exposed SignedIdentifier model containing the publicly exposed AccessPolicy model. Previously we were leaking the internal generated SignedIdentifier model without exposing it in the api.
9
+
10
+
11
+
### Other Changes
12
+
- Custom transports that use legacy azure-core Request/Response types will not be supported moving forward
13
+
- Removed support for Python 3.9, Python 3.10 or later is required to use this package
Copy file name to clipboardExpand all lines: sdk/storage/azure-storage-file-share/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ Azure file shares can be used to:
17
17
## Getting started
18
18
19
19
### Prerequisites
20
-
* Python 3.9 or later is required to use this package. For more details, please read our page on [Azure SDK for Python version support policy](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/python_version_support_policy.md).
20
+
* Python 3.10 or later is required to use this package. For more details, please read our page on [Azure SDK for Python version support policy](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/python_version_support_policy.md).
21
21
* You must have an [Azure subscription](https://azure.microsoft.com/free/) and an
22
22
[Azure storage account](https://learn.microsoft.com/azure/storage/common/storage-account-overview) to use this package.
0 commit comments