Skip to content

Commit bd77970

Browse files
SP-738 Type Review: Python
1 parent e9f5bb9 commit bd77970

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bitpay/clients/bitpay_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def update(self, uri: str, form_data: Any = {}) -> Response:
126126
return requests.put(full_url, data=form_data, headers=self.__headers)
127127

128128

129-
def json_serialize(obj):
129+
def json_serialize(obj) -> Any: # type: ignore
130130
if isinstance(obj, datetime):
131131
return obj.astimezone(timezone.utc).strftime("%Y-%m-%dT%H:%M:%SZ")
132132
raise TypeError("Type %s not serializable" % type(obj))

0 commit comments

Comments
 (0)