mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-13 02:14:23 +00:00
fix: type
This commit is contained in:
1 parent
6dd55a4603
commit
5de7ae53e5
1 file changed
+1
-1
@@ -128,7 +128,7 @@ class RequestBodySerializer:
|
||||
@staticmethod
|
||||
def _serialize_form_value(
|
||||
value: Any, style: str, explode: bool, content_type: str, key: str
|
||||
) -> Union[str, list]:
|
||||
) -> Union[str, list[tuple[str, str]]]:
|
||||
"""Serialize individual form value with encoding rules.
|
||||
|
||||
Returns a raw (unencoded) string, or a list of raw (name, value)
|
||||
|
||||
Reference in new issue
Block a user