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
Add async client documentation to README and SDK use skill
Documents AsyncDataverseClient installation, quick start, query builder,
batch/changesets, and DataFrame patterns in README.md and both copies of
the dataverse-sdk-use SKILL.md.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: .claude/skills/dataverse-sdk-use/SKILL.md
+109Lines changed: 109 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -588,6 +588,115 @@ except ValidationError as e:
588
588
10.**Test in non-production environments** first
589
589
11.**Use named constants** - Import cascade behavior constants from `PowerPlatform.Dataverse.common.constants`
590
590
591
+
## Async Client
592
+
593
+
The SDK ships a full async client, `AsyncDataverseClient`, under `PowerPlatform.Dataverse.aio`. Requires the `[async]` extra: `pip install "PowerPlatform-Dataverse-Client[async]"`.
594
+
595
+
### Import
596
+
```python
597
+
from azure.identity.aio import InteractiveBrowserCredential # or ClientSecretCredential, etc.
598
+
from PowerPlatform.Dataverse.aio.async_client import AsyncDataverseClient
For a complete example see [examples/advanced/batch.py](https://github.com/microsoft/PowerPlatform-DataverseClient-Python/blob/main/examples/advanced/batch.py).
785
786
787
+
## Async client
788
+
789
+
The SDK ships a full async client, `AsyncDataverseClient`, for use in async applications. It mirrors every operation of the sync client — the same namespaces (`records`, `query`, `tables`, `files`, `batch`), the same method signatures, and the same return types.
790
+
791
+
### Install
792
+
793
+
The async client requires `aiohttp`, which is an optional extra:
See [examples/aio/](https://github.com/microsoft/PowerPlatform-DataverseClient-Python/tree/main/examples/aio) for async equivalents of all sync examples.
882
+
786
883
## Next steps
787
884
788
885
### More sample code
@@ -808,7 +905,7 @@ For comprehensive information on Microsoft Dataverse and related technologies:
808
905
| Resource | Description |
809
906
|----------|-------------|
810
907
|**[Dataverse Developer Guide](https://learn.microsoft.com/power-apps/developer/data-platform/)**| Complete developer documentation for Microsoft Dataverse |
811
-
|**[Dataverse Web API Reference](https://learn.microsoft.com/power-apps/developer/data-platform/webapi/)**| Detailed Web API reference and examples |
908
+
|**[Dataverse Web API Reference](https://learn.microsoft.com/power-apps/developer/data-platform/webapi/)**| Detailed Web API reference and examples |
812
909
|**[Azure Identity for Python](https://learn.microsoft.com/python/api/overview/azure/identity-readme)**| Authentication library documentation and credential types |
813
910
|**[Power Platform Developer Center](https://learn.microsoft.com/power-platform/developer/)**| Broader Power Platform development resources |
814
911
|**[Dataverse SDK for .NET](https://learn.microsoft.com/power-apps/developer/data-platform/org-service/overview)**| Official .NET SDK for Microsoft Dataverse |
Copy file name to clipboardExpand all lines: src/PowerPlatform/Dataverse/claude_skill/dataverse-sdk-use/SKILL.md
+109Lines changed: 109 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -588,6 +588,115 @@ except ValidationError as e:
588
588
10.**Test in non-production environments** first
589
589
11.**Use named constants** - Import cascade behavior constants from `PowerPlatform.Dataverse.common.constants`
590
590
591
+
## Async Client
592
+
593
+
The SDK ships a full async client, `AsyncDataverseClient`, under `PowerPlatform.Dataverse.aio`. Requires the `[async]` extra: `pip install "PowerPlatform-Dataverse-Client[async]"`.
594
+
595
+
### Import
596
+
```python
597
+
from azure.identity.aio import InteractiveBrowserCredential # or ClientSecretCredential, etc.
598
+
from PowerPlatform.Dataverse.aio.async_client import AsyncDataverseClient
0 commit comments