However, it is now being moved here so we can make it part of our kubernetes deployment. Which already contained the necessary pod orchestration.
Test Plan
This can be run with:
python -m dune_api_scripts.update.user_retention
Although you will have to provide RETENTION_QUERY env var.
Volume Data.
I have manually copied retention.csv into the v10/ directory for testing. We will likely have to create v11 for this, but I am just experimenting at the moment.
This script has essentially already been reviewed as part of
cow-dune
inhttps://github.com/cowprotocol/cow-dune/pull/16 and https://github.com/cowprotocol/cow-dune/pull/17
However, it is now being moved here so we can make it part of our kubernetes deployment. Which already contained the necessary pod orchestration.
Test Plan
This can be run with:
Although you will have to provide
RETENTION_QUERY
env var.Volume Data.
I have manually copied
retention.csv
into the v10/ directory for testing. We will likely have to create v11 for this, but I am just experimenting at the moment.retention.csv