Skip to content

Commit e4b8ddf

Browse files
author
Vincent (Wen Yu) Ge
committed
filename should not be optional
1 parent cdcfb4b commit e4b8ddf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/python/package/input_file.py.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class InputFile:
1212
return instance
1313

1414
@classmethod
15-
def from_bytes(cls, bytes, filename = None, mime_type = None):
15+
def from_bytes(cls, bytes, filename, mime_type = None):
1616
instance = cls()
1717
instance.data = bytes
1818
instance.filename = filename

0 commit comments

Comments
 (0)