Alex F12/09/2022, 6:40 PM
17:06:30 INFO Agent1
Submitted for execution: PID: 3327309
17:06:31 ERROR execute flow-run
Failed to load and execute flow run: PermissionError(13, 'Permission denied')
John-Craig Borman12/09/2022, 6:40 PM
Aniruddha Bharadwaj12/09/2022, 7:50 PM
prefect deployment build ./data_source_flows/master_flow.py:master_flow -n master_flow -q test --storage-block github/flows --apply
Dillan Smith12/09/2022, 8:15 PM
and my values file is
helm install prefect-orion-poc prefect/prefect-orion --values helm-orion-values.yaml
namespaceOverride: helm-prefect postgresql: auth: password: password ingress: enabled: true
but that comes back as an unknown host. Im pretty new to K8S so any help is appreciated.
Get the application URL by running these commands: <http://prefect.local/>
Edmondo Porcu12/11/2022, 2:23 PM
Nico Neumann12/11/2022, 9:45 PM
Lucas Cavalcanti Rodrigues12/11/2022, 10:15 PM
Emma Rizzi12/12/2022, 9:39 AM
https://codeyarns.com/tech/2017-07-21-how-to-set-umask-for-docker-container.html#gsc.tab=0 Is there a way to override the entrypoint of the flow ? Or any other solution to set umask?
Anco12/12/2022, 12:23 PM
Joël Luijmes12/12/2022, 1:48 PM
. Assuming that all prefect flows are contained in the same repository, and are deployed to the same orion server. Are there any benefits/disadvantages over one or the other?
Jelle Vegter12/12/2022, 2:01 PM
Santhosh Solomon (Fluffy)12/12/2022, 2:14 PM
12:48:12.659 | ERROR | prefect.infrastructure.process - Process 'optimal-toucanet' exited with status code: -9; This indicates that the process exited due to a SIGKILL signal. Typically, this is caused by high memory usage causing the operating system to terminate the process.
Ashley Felber12/12/2022, 3:00 PM
Adam Roderick12/12/2022, 3:53 PM
scott12/12/2022, 4:20 PM
functions called from a
- all of our work is done outside of Python called via make commands, which I currently use
for. However, you can’t put
within a function decorated with
. I could just remove the
decorator. Is there a workflow folks use to leverage
decorator that run shell commands?
Sean Conroy12/12/2022, 5:18 PM
from prefect import task, Flow @task def get_value(): return 10 with Flow("task-results") as flow: v = get_value() print(v) state = flow.run()
. What am I doing wrong?
scott12/12/2022, 6:16 PM
only allows for pointing at one file. If you want to pull in imports from other files like utility functions (not pypi packages) how do you suggest doing that? I assume we don’t have to have all code in the one file the deployment build command points at?
prefect deployment build
Ashley Felber12/12/2022, 6:32 PM
Nicolas Gastaldi12/12/2022, 7:24 PM
scott12/12/2022, 8:32 PM
? Do you just nuke your deployment.yaml file, and rerun
prefect deployment update
prefect deployment build
? Maybe it depends on where storage is located? Im using GCS storage.
prefect deployment apply foo-deployment.yaml
Tomas Moreno12/12/2022, 10:58 PM
Nikhil Jain12/12/2022, 11:22 PM
Dan Marling12/12/2022, 11:55 PM
Ashley Felber12/12/2022, 11:59 PM
if __name__ == "__main__": extract_load_events ('20221030','20221030','<https://us1.api.clevertap.com/1/events.json','https://us1.api.clevertap.com/1/events.json?cursor=>')
scott12/13/2022, 12:01 AM
on a VM as a service, does anyone have a setup for injecting secrets into the
prefect agent …
file for the prefect url and api key? A solution with
would be ideal, but curious about any solution that works
Andy Yeung12/13/2022, 1:22 AM
Deepanshu Aggarwal12/13/2022, 9:12 AM
Andy Yeung12/13/2022, 9:35 AM
is required for asynchronous execution on the
Mark NS12/13/2022, 9:56 AM
dbt_cli_profile = DbtCliProfile( name="dbt_dwh", target=DEFAULT_BLOCK, target_configs=PostgresTargetConfigs( credentials=DatabaseCredentials.load(DEFAULT_BLOCK), schema="public" ), ) dbt_cli_profile.save(name="dbt_dwh")
Has anyone else seen this?
TypeError: Type is not JSON serializable: URL