There are some examples that are not compatible with 2.0, like nested sets
|
lft=case( |
|
[ |
|
( |
|
personnel.c.lft > right_most_sibling, |
|
personnel.c.lft + 2, |
|
) |
|
], |
|
else_=personnel.c.lft, |
|
), |
|
rgt=case( |
|
[ |
|
( |
|
personnel.c.rgt >= right_most_sibling, |
|
personnel.c.rgt + 2, |
|
) |
|
], |
|
else_=personnel.c.rgt, |
|
), |
Creating a way of running the tests as part of the pipeline work help avoiding having old examples laying around
There are some examples that are not compatible with 2.0, like nested sets
sqlalchemy/examples/nested_sets/nested_sets.py
Lines 56 to 73 in 8b10829
Creating a way of running the tests as part of the pipeline work help avoiding having old examples laying around