Skip to content

Commit

Permalink
Fixes the Python 3.8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
stumpylog committed Oct 12, 2023
1 parent 4d2bbed commit 5c9e84f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gotenberg_client/convert/chromium.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def user_agent(self, agent: str) -> "ChromiumBaseRoute":
self._form_data.update({"userAgent": agent})
return self

def headers(self, headers: dict[str, str]) -> "ChromiumBaseRoute":
def headers(self, headers: Dict[str, str]) -> "ChromiumBaseRoute":
json_str = json.dumps(headers)
# TODO: Need to check this
self._form_data.update({"extraHttpHeaders": json_str})
Expand Down

0 comments on commit 5c9e84f

Please sign in to comment.