Etl-entities

Latest version: v2.3.0

Safety actively analyzes 623739 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

2.3.0

Breaking Changes

- Rename `HWMStoreClassRegistry.known_types` to `aliases` (79)

Features

- Allow using `etl-entities` with both Pydantic v1 and v2. (82)

2.2.0

Breaking Changes

- Remove `cover` method from base `HWM` class, it only remains in `FileHWM` class (71)

Features

- Improve typing:
- Fix Pylance (VS Code) complained `"SomeClass" is not exported from module "etl_entities.module". Import from "etl_entities.module.submodule" instead`.
- Mark old HWM classes with `typing_extensions.deprecated` decorator (69)
- Add `KeyValueIntHWM` class, designed to manage HWM for partitioned data sources like Kafka topics. It extends the functionality of the base HWM classes to handle key-value pairs. (71)

2.1.2

Bug fixes

- Fix missing default value `ColumnHWM.source`

2.1.1

Improvements

- Add compatibility with `Python 3.12` (\62)

2.1.0

Breaking Changes

- Drop ``HWM.qualified_name`` attribute, it is not used anymore. (57)
- Rename attribute ``ColumnHWM.column`` to ``ColumnHWM.source``. This is not required anymore, and should contain table/collection/topic name instead of column.
Use attribute ``ColumnHWM.expression`` to store column name. (59)
- Make attribute ``FileHWM.directory`` optional.
All paths in ``FileListHWM.value`` are now absolute instead of relative. (60)
- Disallow comparison ``hwm < raw_value`` and ``hwm > raw_value`` where ``raw_value`` is a primitive type value, like int.
This now raises ``TypeError``. (61)
- Disallow passing extra fields to HWM class constructors instead of silently ignore them. (61)

2.0.8

Features

- Allow to pass float and Decimal values as valid input for `ColumnIntHWM` (but only if value does contain only `0` after decimal part). (\58)

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.