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:
@@ -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",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user