Closed brendancooley closed 5 months ago
I really like the idea and understand the need for this. Any chance you'd like to rebase this on latest main branch?
I really like the idea and understand the need for this. Any chance you'd like to rebase this on latest main branch?
Got it in there on the pydantic v2 refactor! See test_recursive_derive
: https://github.com/JakobGM/patito/blob/89e59f313ec2452fe76a1e72aff2e157f6fac298/tests/test_polars.py#L284
Will close this.
will derive
double_bar
first, thenquad_bar
, automatically detecting upstream dependencies and ensuring that execution order is correct. The data frame will be returned in the order specified by the model (quad_bar
comes beforedouble_bar
).Added new
test_recursive_dependencies
. Tests will pass for bothpolars==0.18
andpolars==0.19
after merging #24.