zeroSteiner / rule-engine

A lightweight, optionally typed expression language with a custom grammar for matching arbitrary Python objects.
https://zerosteiner.github.io/rule-engine/
BSD 3-Clause "New" or "Revised" License
455 stars 54 forks source link

Update getting_started.rst #78

Closed patrickcd closed 9 months ago

patrickcd commented 9 months ago

The example for subclassing the Context and setting from_defaults didn't work for me. Assuming this is due to an api change I have edited the docs to reflect what seems to work.

zeroSteiner commented 9 months ago

Thank you very much for finding and then fixing this. You're right Builtins was moved from rule_engine.engine to rule_engine.builtins in the 4.0 release.