Repository-orm

Latest version: v1.3.3

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

Scan your dependencies

Page 1 of 6

1.3.3

Fix

- deprecate search_exception
- simplify signature of repository methods
- simplify signature of load_repository
- remove dependency with py

1.3.2

Fix

- correct the search on tinydb when a value is None
- correct the search on tinydb when a value is None

Refactor

- clean the Entity TypeVar definitions to EntityT

1.3.1

Fix

- Implement the ADR 005 deprecation

1.3.0

Refactor

- avoid duplication of code in repo._get when there are many entities

Feat

- repo.get() now accepts an `attribute` different than `id_`
- add `repo.empty()` to remove all entities from the repository

1.2.0

Feat

- add the is_closed property to the repo

1.1.8

Fix

- use Sequence as type hint for repo.add
- use Sequence as type hint for repo.add

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.