From 3cb102561cafd8d3bb9eebcad2d611e8cd37f78b Mon Sep 17 00:00:00 2001 From: abdulganiyy Date: Sat, 26 Oct 2024 20:59:04 +0100 Subject: [PATCH] fixed untyped defs in cloudinit analyze --- cloudinit/analyze/show.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudinit/analyze/show.py b/cloudinit/analyze/show.py index f289568add6..9ca8a14c54b 100644 --- a/cloudinit/analyze/show.py +++ b/cloudinit/analyze/show.py @@ -99,7 +99,7 @@ def event_duration(start: Dict[str, Union[str, float]], finish: Dict[str, Union[ return delta_seconds(event_datetime(start), event_datetime(finish)) -def event_record(start_timedatetime.datetime, start: Dict[str, Union[str, float]], finish: Dict[str, Union[str, float]]) -> Dict[str, Union[str, float]]: +def event_record(start_time:datetime.datetime, start: Dict[str, Union[str, float]], finish: Dict[str, Union[str, float]]) -> Dict[str, Union[str, float]]: record = finish.copy() record.update( {