You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Needs, since Tyler lets courts restrict individual document uploads,
as well as the envelope as a whole, so adds a `maximum_size_per_doc` parameter
that acts per document (which is needed so folks don't upload one file within
the limit and then another one out of the limit on the second screen, which
would be rejected by Tyler; this has happened in production recently).
validation_error(f"This document must be smaller than {humanize.naturalsize(x.maximum_size_per_doc) }. Upload a file smaller than {humanize.naturalsize(suggested_size)}.")
1993
+
1971
1994
if page_size > (15 * 1024 * 1024):
1972
1995
validation_error("Upload a file smaller than 15 MB.")
1973
1996
if hasattr(x, 'maximum_size'):
1974
-
# this_doc_size already includes `page_size`
1975
-
this_doc_size = sum(a_page.size_in_bytes() for a_page in x[i].pages.complete_elements())
0 commit comments