Commit aa17095
[AutoPR azure-confidentialledger]-generated-from-SDK Generation - Python-6435812 (#47499)
* Configurations: 'specification/confidentialledger/data-plane/ConfidentialLedger/tspconfig.yaml', SDK Release Type: stable, and CommitSHA: '8a3262d0e5c399e19b4e489368643a0e5b7f16e3' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6435812 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.
* Restore custom code and fix compatibility with new TypeSpec generation
- Restore custom _patch.py files (sync/async) with ConfidentialLedgerClient
extending generated client with credential support and TLS cert handling
- Restore custom _operations/_patch.py files (sync/async) with LRO polling
methods (begin_get_ledger_entry, begin_get_receipt, begin_create_ledger_entry,
begin_wait_for_commit)
- Restore _redirect_caching_policy.py for write request redirect caching
- Restore receipt/ module for write transaction receipt verification
- Inject RedirectCachingPolicy and disable_redirect_cleanup via kwargs in
custom client constructors (new generated code no longer includes these)
- Update test_client_configuration.py to test custom client behavior
- Update CHANGELOG.md with proper 2.0.0 stable release notes
- Update pyproject.toml: is_stable=true, Development Status 5
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Add 'deser' to cspell allowlist for confidentialledger
Generated model_base.py uses _xml_deser_* function names (short for
deserialize). This is auto-generated code that cannot be modified.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Fix async redirect policy, renamed methods, and add api.md
- Use AsyncRedirectCachingPolicy in async client instead of sync version
- Rename create/update/delete_user_defined_role to *_stable in tests
- Generate and commit api.md and api.metadata.yml for consistency check
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Fix tests and update recordings for stable 2026-02-23 API
- Fix role order assertion (use sorted comparison)
- Fix UserDefinedRole access (use dict instead of .roles attribute)
- Add cleanup for pre-existing test role
- Support configurable identity endpoint via env var
- Update test recordings for new api-version
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Fix tsp-location.yaml and docstring api_version default
- Fix additionalDirectories trailing space in tsp-location.yaml
- Fix docstring default api_version from None to 2026-02-23 in sync and async configuration
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Ryan Zhang <ryazhang@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Ryan Zhang <112638134+ryazhang-microsoft@users.noreply.github.com>1 parent 0c5001a commit aa17095
31 files changed
Lines changed: 3618 additions & 709 deletions
File tree
- .vscode
- sdk/confidentialledger/azure-confidentialledger
- azure/confidentialledger
- _operations
- _utils
- aio
- _operations
- models
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1849 | 1849 | | |
1850 | 1850 | | |
1851 | 1851 | | |
| 1852 | + | |
1852 | 1853 | | |
1853 | 1854 | | |
1854 | 1855 | | |
| |||
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
3 | 19 | | |
4 | 20 | | |
5 | 21 | | |
| |||
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
3 | 11 | | |
0 commit comments