Skip to content

Commit e03add6

Browse files
authored
Add type hint (#9899)
1 parent b1239a8 commit e03add6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

haystack/utils/jinja2_extensions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def _get_datetime(
5555
if offset and operator:
5656
try:
5757
# Parse the offset and apply it to the datetime object
58-
replace_params = {
58+
replace_params: dict[str, Any] = {
5959
interval.strip(): float(operator + value.strip())
6060
for param in offset.split(",")
6161
for interval, value in [param.split("=")]

0 commit comments

Comments
 (0)