tests/test_flat.py::test_shuffle
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/meds_etl/flat.py:230: DeprecationWarning: `partition_by(..., as_dict=True)` will change to always return tuples as dictionary keys. Pass `by` as a list to silence this warning, e.g. `partition_by(['shard'], as_dict=True)`.
table.select(
This pull request fixes the partition_by argument.
We might want to work out a way of pinning versions for development (e.g. a requirements file?).
As discussed in #10, tests are currently failing for Polars >0.19. See for example: https://github.com/Medical-Event-Data-Standard/meds_etl/actions/runs/7673982626/job/20917734572. The problem is our use of deprecated
partition_by
syntax:This pull request fixes the
partition_by
argument.We might want to work out a way of pinning versions for development (e.g. a requirements file?).