feat: migrate Python SDK to httpx with async/await support (#26726)

Signed-off-by: lyzno1 <yuanyouhuilyz@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
lyzno1
2025-10-11 17:45:42 +08:00
committed by GitHub
parent 5217017e69
commit a9b3539b90
11 changed files with 2183 additions and 488 deletions

View File

@@ -7,11 +7,28 @@ from dify_client.client import (
WorkspaceClient,
)
from dify_client.async_client import (
AsyncChatClient,
AsyncCompletionClient,
AsyncDifyClient,
AsyncKnowledgeBaseClient,
AsyncWorkflowClient,
AsyncWorkspaceClient,
)
__all__ = [
# Synchronous clients
"ChatClient",
"CompletionClient",
"DifyClient",
"KnowledgeBaseClient",
"WorkflowClient",
"WorkspaceClient",
# Asynchronous clients
"AsyncChatClient",
"AsyncCompletionClient",
"AsyncDifyClient",
"AsyncKnowledgeBaseClient",
"AsyncWorkflowClient",
"AsyncWorkspaceClient",
]