Arthur Andres
07/17/2024, 9:41 AMvenv/lib/python3.11/site-packages/hamilton/plugins/polars_post_1_0_0_extension.py:597: DeprecationWarning: The `polars.type_aliases` module is deprecated. The type aliases have moved to the `polars._typing` module to explicitly mark them as private. Please define your own type aliases, or temporarily import from the `polars._typing` module. A public `polars.typing` module will be added in the future.
from polars.type_aliases import ColumnTotalsDefinition, RowTotalsDefinition
Thanks.Thierry Jean
07/17/2024, 1:30 PMpolars >= 1.0.0
. Will create a fix this morning.Arthur Andres
07/17/2024, 1:32 PMThierry Jean
07/17/2024, 2:09 PMDriver
extensions are imported. This is to resovle the graph in case you're using a dataframe library with @extract_columns
for example.
Hamilton automatically imports extensions based on the available packages in the current virtual environment. In other words, polars_post_1_0_0_extension.py
is imported because you have polars
installed
Given I'll fix the current issue, are there other reasons you'd like to disable extension imports? We could create an environment variable for that purpose for instanceArthur Andres
07/17/2024, 2:34 PM2024-07-17 07:01:30,477 - hamilton.registry - INFO - Detected polars and successfully loaded Hamilton extensions.
2024-07-17 07:01:30,210 - hamilton.registry - INFO - Detected pandas and successfully loaded Hamilton extensions.
Stefan Krawczyk
07/17/2024, 2:46 PMArthur Andres
07/17/2024, 2:48 PMStefan Krawczyk
07/17/2024, 2:50 PMArthur Andres
07/17/2024, 2:51 PM