This commit is contained in:
Andrey Berezin 2024-01-12 15:26:34 +03:00
parent ee1f3ab0c1
commit 9f2c8adfb5

View file

@ -8,7 +8,7 @@ from typing import Any, Callable, Optional, get_args
from frostfs_testlib.utils.converting_utils import calc_unit
def convert_time_to_seconds(time: int | str) -> int:
def convert_time_to_seconds(time: int | str | None) -> int:
if time is None:
return None
if str(time).isdigit():