Skip to content

Commit 63d01de

Browse files
committed
fix typo and add more types
1 parent f923015 commit 63d01de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

intbot/core/analysis/products.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212

1313
class LocalisedFieldsMixin:
14-
# Marking as ClassVar here is importnat. It doens't work without it :)
14+
# Marking as ClassVar here is important. It doens't work without it :)
1515
_localised_fields: ClassVar[Iterable[str]] = ()
1616

1717
@model_validator(mode="before")
@@ -104,7 +104,7 @@ def flat_product_data(products: list[Product]) -> pl.DataFrame:
104104
return pl.DataFrame(rows)
105105

106106

107-
def latest_flat_product_data():
107+
def latest_flat_product_data() -> pl.DataFrame:
108108
"""
109109
Thin wrapper on getting latest information from the database, and
110110
converting into a polars data frame

0 commit comments

Comments
 (0)