Skip to content

Commit 30e0c8d

Browse files
committed
fix: use Tuple from typing for py3.7 compat in _build_multipart return type
1 parent 0fbe4ef commit 30e0c8d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

resend/contacts/imports/_contact_imports.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import json as json_lib
2-
from typing import Any, Dict, List, Optional, cast
2+
from typing import Any, Dict, List, Optional, Tuple, cast
33

44
from typing_extensions import Literal, NotRequired, TypedDict
55

@@ -93,7 +93,7 @@ class ListParams(TypedDict):
9393
@staticmethod
9494
def _build_multipart(
9595
params: "ContactImports.CreateParams",
96-
) -> tuple:
96+
) -> Tuple[Dict[str, Any], Dict[str, str]]:
9797
if not params.get("file"):
9898
raise ValueError("file is required")
9999
filename = params.get("filename", "import.csv")

0 commit comments

Comments
 (0)