Kevin Weiler
10/01/2020, 3:37 PM'413 Client Error: Request Entity Too Large for url: <http://prefect-api.aq.tc/graphql>'
nicholas
Kevin Weiler
10/01/2020, 3:39 PM<http://prefect_logger.info|prefect_logger.info>(f'validate prod data stdout {stdout}')
nicholas
nginx
level). However, I think it's probably not a good idea to increase that cap, since these logs are being stored in your db and regularly storing large entities in single rows of a db is usually not desired behavior.Kevin Weiler
10/01/2020, 3:45 PMnicholas
Kevin Weiler
10/01/2020, 5:00 PM@task(result=PrefectResult())
def create_validate_prod_data():
prefect_logger = prefect.context.get('logger')
p = subprocess.Popen(['python', '-m', 'pytest', '-vv', '-s', 'config_validation'], cwd='/am/python/')
stdout, stderr = p.communicate()
<http://prefect_logger.info|prefect_logger.info>(f'validate prod data stdout {stdout}')
return_code = p.returncode
if return_code != 0:
raise FAIL()
return datastore.load_state('/am/python/datastore_state.json')
nicholas
Kevin Weiler
10/01/2020, 5:10 PM