From 90e9b9bb053ccc027eaa87848170dc323f8ce012 Mon Sep 17 00:00:00 2001 From: Kristian Krsnik Date: Fri, 12 Apr 2024 17:05:27 +0200 Subject: [PATCH] removed async --- src/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/utils.py b/src/utils.py index 66cf09d..521e23c 100644 --- a/src/utils.py +++ b/src/utils.py @@ -19,7 +19,8 @@ def convert_to_bytes(size: int | str) -> int: raise ValueError -async def generate_data(size: int, buffer_size: int = 4 * 1024) -> bytes: + +def generate_data(size: int, buffer_size: int = 4 * 1024) -> bytes: size_left = size while size_left > buffer_size: