Skip to content

Instantly share code, notes, and snippets.

JSON.GET namespace_name path .rule_id
JSON.SET namespace_name .rule_id rule_object
{
"tax_system": {
"123456": {
"id": 123456,
"namespace": "tax_system",
"rule_description": "this is a test rule",
"predicates": [
{
"attribute_name": "Province",
"operator": "eq",
{
"attribute_name": "Province", # the name of your input
"operator": "eq", # type of operation
"type": "string", # type of input such as INT or STRING
"value": "Ontario" # value of the input you want to gove
}
JSON.SET namespace_name . {}
python3 manage.py runserver
pip3 install -r requirements.txt
git clone https://github.com/redis-developer/bonsai-frontend