missing None for optional field + pylint

This commit is contained in:
Victor Shyba 2019-02-13 20:44:38 -03:00 committed by Lex Berezhny
parent 5c1ab42277
commit b6df2b9d28
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@ async def get_next_available_file_name(loop: asyncio.BaseEventLoop, download_dir
class StreamAssembler: class StreamAssembler:
def __init__(self, loop: asyncio.BaseEventLoop, blob_manager: 'BlobFileManager', sd_hash: str, def __init__(self, loop: asyncio.BaseEventLoop, blob_manager: 'BlobFileManager', sd_hash: str,
output_file_name: typing.Optional[str]): output_file_name: typing.Optional[str] = None):
self.output_file_name = output_file_name self.output_file_name = output_file_name
self.loop = loop self.loop = loop
self.blob_manager = blob_manager self.blob_manager = blob_manager