Hopeit.engine

Latest version: v0.25.4

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

Scan your dependencies

Page 3 of 15

0.25.0b1

______________

- Engine:

- This release adopts `pydantic` as a the library for dataclasses and schema validation

BREAKING CHANGES
================
- Python `dataclasses.dataclass` is no longer supported in `dataobjects` annotated classes.
Pydantic `dataclasses` (and in the future BaseModel should be used).

- The recommended way is to import from dataobjects module:

from hopeit.dataobjects import dataclass, dataobject, field

where dataclass and field are aliases of `pydantic.dataclasses.dataclass` and `pydantic.Field`

- In most of the cases replacing the import clause in applications should suffice,
but could be features of dataclasses (like i.e. `metadata`) that should be replaced by its
equivalent in `pydantic`.

0.24.2

______________
- Engine:

- Support for MockFile.read() on apps testing hooks

- Plugins:

- dataframes (beta):

- Fix: construction from series compatible with pandas

- Fix: clean index name on new dataframe creation

0.24.1

______________
- Plugin:

- dataframes (beta): fixed package imports

0.24.0

______________
- Plugin:

- dataframes (beta): new plugin to support workflows based on `pandas`

0.23.0

______________
- Plugin:

- fs-storage: add `store_file`, `get_file`, `delete_files` and `list_files` methods

0.22.0

______________
- Engine:

- SETUP: new EventType, runs before initializing endpoints, streams, and services

Page 3 of 15

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.