We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2de4b2a commit 2080240Copy full SHA for 2080240
src/mock_vws/target.py
@@ -112,7 +112,7 @@ def status(self) -> str:
112
target is for detection.
113
"""
114
processing_time = datetime.timedelta(
115
- seconds=self.processing_time_seconds,
+ seconds=float(self.processing_time_seconds),
116
)
117
118
timezone = self.upload_date.tzinfo
@@ -137,7 +137,7 @@ def tracking_rating(self) -> int:
137
pre_rating_time = datetime.timedelta(
138
# That this is half of the total processing time is unrealistic.
139
# In VWS it is not a constant percentage.
140
- seconds=self.processing_time_seconds / 2,
+ seconds=float(self.processing_time_seconds) / 2,
141
142
143
0 commit comments