Skip to content

Commit 1b063b6

Browse files
committed
fix: fix the types
1 parent 5e34086 commit 1b063b6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "uptick-splat"
3-
version = "0.1.4"
3+
version = "0.1.5"
44
description = "Django library for invoking splat"
55
authors = ["william chu <[email protected]>"]
66
readme = "README.md"

uptick_splat/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def pdf_from_html(
146146
def pdf_from_html_without_s3(
147147
body_html: str,
148148
javascript: bool = False,
149-
) -> Optional[bytes]:
149+
) -> bytes:
150150
"""Generates a pdf from html without using s3. This is useful for small pdfs and html documents.
151151
152152
The maximum size of the html document is 6MB. The maximum size of the pdf is 6MB.

0 commit comments

Comments
 (0)