30 lines
747 B
Python
30 lines
747 B
Python
|
|
### INTRO
|
||
|
|
|
||
|
|
# This is an example flow to showcase data testing.
|
||
|
|
|
||
|
|
# The flow is packed with comments to guide you through what's happening.
|
||
|
|
# The flow is also runnable. To run it:
|
||
|
|
# - Make a virtual environment with the requirements.txt that live in the same
|
||
|
|
# folder as this script.
|
||
|
|
# - Start a shell, activate the venv, login to AWS and turn on your Mercadão
|
||
|
|
# VPN.
|
||
|
|
# - In the shell, run the command: TODO
|
||
|
|
#
|
||
|
|
# Note: this flow is designed to run in your laptop. It won't work in the
|
||
|
|
# prefect server. Don't bother uploading it.
|
||
|
|
|
||
|
|
# The flow connects to DW and makes a silly check on a silly query. You can use
|
||
|
|
# it as a reference on how to set up a data test in your serious flows.
|
||
|
|
|
||
|
|
|
||
|
|
### IMPORTS
|
||
|
|
|
||
|
|
# TODO
|
||
|
|
|
||
|
|
### TASK PREP
|
||
|
|
|
||
|
|
# TODO
|
||
|
|
|
||
|
|
### FLOW
|
||
|
|
|
||
|
|
# TODO
|