Logicbank

Latest version: v1.20.8

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

Scan your dependencies

Page 2 of 3

0.7.0

0.6.0

- [Rule Extensibility](https://github.com/valhuber/LogicBank/wiki/Rule-Extensibility)

- e.g., for auditing

- Generic early events: `early_row_event_all_classes` (see Rule Extensibility link above)

- e.g., for time/date stamping

- New LogicRow functions (see Rule Extensibility link above):

- are_attributes_changed

- set_same_named_attributes

- Minor rename of logic class in `nw`. Some screen shots may still show the old name (`rules_bank.py`) instead of `logic.py`.

- Bug Fix: (normal) row events weren't firing (other events - early and commit events - were fine)

0.5.1

Internal changes to support domain object constructors with complex (side effects) __init__ behavior; use `row_mapper.column_attrs` (not `all_orm_descriptors`) to avoid ‘flush already in progress’ when using flask_sqlalchemy

0.5.0

This release introduces Rule.parent_check to augment SQLAlchemy referential integrity support. For details, see [Referential Integrity.](Referential-Integrity). Uploaded to [PyPi](https://pypi.org/project/logicbank/0.5.0/), as version 0.5.0.

0.4.0

Reported issues with the use of engine are fixed by removing such references from the runtime. This had affected creating APIs and Web Apps in Flask.

The cumbersome test setup has been simplified as [described here](https://github.com/valhuber/LogicBank/wiki/Logic-Walkthrough#user-activates-logic-issues-commit).

To enable Logic Bank to be installed with prefixes, a **new version of LogicBankUtils** is used (0.6.) that supports wildcards, such as LogicBank*. **Important** if you are refreshing, you must update, e.g., like this

pip uninstall LogicBankUtils
pip install LogicBankUtils

0.3.0

nw/tests are now Python unittests. You can run them all at once, as described in the readme.

Constraint failures now raise ConstraintException. As illustrated in nw/tests/test_add_order.py,
you can isolate constraint failures for generic error handling:

try:
session.commit()
except ConstraintException as ce:
print("Failed constraint: " + str(ce))
session.rollback()
except:
self.fail("Unexpected Exception Type")


Available in [PyPi as 0.3.0](https://pypi.org/project/logicbank).

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.