Alchy

Latest version: v2.2.2

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

Scan your dependencies

Page 2 of 7

1.5.1

-------------------

- Add support for callable ``__table_args__`` and ``__local_table_args__``. Thanks sethp_!

1.5.0

-------------------

- Add ``Model.is_modified()``. Thanks sethp_!
- Add ``Model.filter()``.
- Add ``Model.filter_by()``.

1.4.2

-------------------

- Add ``search.inenum`` and ``search.notinenum`` for performing an ``in_`` and ``not(in_)`` comparision using ``DeclarativeEnum``.

1.4.1

-------------------

- Allow ``Model.__bind_key__`` to be set at the declarative base level so that model classes can properly inherit it.

1.4.0

-------------------

- Make ``ModelBase``'s ``__table_args__`` and ``__mapper_args__`` inheritable via mixins. Thanks sethp_!
- Add ``__enum_args__`` to ``DeclarativeEnum``. Thanks sethp_!
- Allow enum name to be overridden when calling ``DeclarativeEnum.db_type()``. Thanks sethp_!

1.3.1

-------------------

- During ``Model.update()`` when setting a non-list relationship automatically instantiate ``dict`` values using the relationship model class.

Page 2 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.