diff --git a/templates/python/package/input_file.py.twig b/templates/python/package/input_file.py.twig index 9f11b0c2a8..33d5a77759 100644 --- a/templates/python/package/input_file.py.twig +++ b/templates/python/package/input_file.py.twig @@ -12,7 +12,7 @@ class InputFile: return instance @classmethod - def from_bytes(cls, bytes, filename = None, mime_type = None): + def from_bytes(cls, bytes, filename, mime_type = None): instance = cls() instance.data = bytes instance.filename = filename