## Filter.py 

Use this to query the delivery history snowflake table, 
then find any ACK files showing errors for those items in Bytedance
Then download those ACK files and spit out the ErrorText. In batches.


```python
pyenv install 3.11.0
pyenv local 3.11.0
python -m venv .venv
source ./.venv/bin/activate
python filter.py
```

### Snowflake
This script queries snowflake using browser based SSO.
Ensure you're logged in to SSO for best results before running this script. 
You will need to make sure your username is in the script. Search and replace `<username>` with 
your Sony PDE email. 
We only query 

### AWS
This script assumes you have an AWS profile called `bytedance` in your `.aws/credentials` file, 
with the correct `bytedance` credentials. 

### 

