mirror of
https://github.com/langgenius/dify.git
synced 2026-05-09 12:59:18 +08:00
[autofix.ci] apply automated fixes
This commit is contained in:
parent
46b1f5c0a0
commit
116e5872d6
@ -23,9 +23,7 @@ from graphon.model_runtime.utils.encoders import jsonable_encoder
|
||||
|
||||
class PluginModelClient(BasePluginClient):
|
||||
@staticmethod
|
||||
def _dispatch_payload(
|
||||
*, user_id: str | None, data: dict[str, Any], app_id: str | None = None
|
||||
) -> dict[str, Any]:
|
||||
def _dispatch_payload(*, user_id: str | None, data: dict[str, Any], app_id: str | None = None) -> dict[str, Any]:
|
||||
payload: dict[str, Any] = {"data": data}
|
||||
if user_id is not None:
|
||||
payload["user_id"] = user_id
|
||||
|
||||
Loading…
Reference in New Issue
Block a user