Skip to content

Commit 37fb9cd

Browse files
committed
chore: fix mypy issues
1 parent b36e32f commit 37fb9cd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pygitguardian/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def get(
252252
def post(
253253
self,
254254
endpoint: str,
255-
data: Optional[Dict[str, str]] = None,
255+
data: Optional[Dict[str, Any]] = None,
256256
version: str = DEFAULT_API_VERSION,
257257
extra_headers: Optional[Dict[str, str]] = None,
258258
**kwargs: Any,

pygitguardian/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def rename_errors(self, data: Dict, many: bool, **kwargs: Any) -> Dict:
118118
return data
119119

120120
@post_load
121-
def make_detail_response(self, data: Dict[str, str], **kwargs: Any) -> "Detail":
121+
def make_detail_response(self, data: Dict[str, Any], **kwargs: Any) -> "Detail":
122122
return Detail(**data)
123123

124124

0 commit comments

Comments
 (0)