Getting started with the Dapr actor Python SDK
The Dapr actor package allows you to interact with Dapr virtual actors from a Python application.
- Dapr CLI installed
- installed
- Dapr Python module installed
An actor service hosts the virtual actor. It is implemented a class that derives from the base type and implements the interfaces defined in the actor interface.
An actor client contains the implementation of the actor client which calls the actor methods defined in the actor interface.
import asyncio
async def main():
# Create proxy client
resp = await proxy.GetMyData()