Repka

Latest version: v3.1.1

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

Scan your dependencies

Page 2 of 4

2.0.1

Fixed

- No import error if `databases` is not installed (41 by Paul-Ilyin)

2.0.0

Added

- `repka.repositories.base.AsyncBaseRepo.ignore_default` - ignore fields which value equals to default (38 by Paul-Ilyin)

Changed

- `repka.repositories.base.AsyncBaseRepo.insert_many` - perform single query instead of multiple (33 by Paul-Ilyin)
- `databases` as optional dependency (`poetry install -E databases` to install with `databases` dependency) (40 by Paul-Ilyin)

Removed

- **Breaking change!** `repka.repositories.base.AsyncBaseRepo.ignore_insert` removed (38 by Paul-Ilyin)

1.1.0

Added

- `repka.utils.model_to_primitive:keep_python_primitives` - if True result dict will have python-primitives (e.g. datetime, Decimal) (32 by potykion)

1.0.0

Added

- repka.api.DatabasesRepository - repo that uses [databases](https://github.com/encode/databases) lib allowing to use repka on mysql/sqlite dbs
- repka.api.FakeRepo - repo that uses list of entities instead of real database (draft, features like sqlalchemy-filters are not supported)

Changed

- repka.utils.model_to_primitive - returns dict of python-primitives (e.g. datetime.date is not converted to string)
- Architecture changes: queries building in separate classes; query executor class - abstrasction for aiopg & databases

Removed

- repka.api.ConnectionVarMixin - removed, repo supports both connection in context-var-connection in single contructor

0.10.1

Fixed

- repka.api.BaseRepository.__get_generic_type - fix type extraction for mixin-inheritance (28 by potykion)

0.10.0

Changed

- repka.api.BaseRepository.deserialize - no need to override in inheritors (22 by potykion)
- repka.api.BaseRepository.delete - to delete all table rows you should pass (23 by potykion)
- repka.json_.DictJsonRepo.read_or_write_default - return tuple of data and existence
- Detailed docs

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.