comparison libervia/backend/tools/stream.py @ 4270:0d7bb4df2343

Reformatted code base using black.
author Goffi <goffi@goffi.org>
date Wed, 19 Jun 2024 18:44:57 +0200
parents 7c5654c54fed
children
comparison
equal deleted inserted replaced
4269:64a85ce8be70 4270:0d7bb4df2343
59 uid: Optional[str] = None, 59 uid: Optional[str] = None,
60 size: Optional[int] = None, 60 size: Optional[int] = None,
61 data_cb: Optional[Callable] = None, 61 data_cb: Optional[Callable] = None,
62 auto_end_signals: bool = True, 62 auto_end_signals: bool = True,
63 check_size_with_read: bool = False, 63 check_size_with_read: bool = False,
64 pre_close_cb: Optional[Callable]=None 64 pre_close_cb: Optional[Callable] = None,
65 ) -> None: 65 ) -> None:
66 """ 66 """
67 @param host: %(doc_host)s 67 @param host: %(doc_host)s
68 @param path(Path, str): path to the file to get or write to 68 @param path(Path, str): path to the file to get or write to
69 @param mode(str): same as for built-in "open" function 69 @param mode(str): same as for built-in "open" function