Aleksandr Liadov
01/19/2023, 4:41 PM'{"exception_message":"Invalid request received.","exception_detail":[{"loc":["body","name"],"msg":"extra fields not permitted","type":"value_error.extra"}],"request_body":{"name":"d3f199ee-8bd5-4fbf-9424-a9a7f39c9d3b"}}'
Request in threadSang Young Noh
01/19/2023, 5:08 PMPaco Ibañez
01/19/2023, 5:43 PMWright Hilsman
01/19/2023, 6:24 PMJosh Meekhof
01/19/2023, 6:57 PM------BEGIN PRIVATE KEY-----
-----END PRIVATE KEY-----
I’ve tried taking the content between the blocks and making a long one line string and removing the \n
characters.
Each time I get the same InvalidPemFormat error.Ton Steijvers
01/19/2023, 7:09 PMprefect cloud login -k
providing my key and selecting the proper workspace. Prefect tells me login has succeeded.
If I then perform a prefect block ls
I get a Client error '403 Forbidden'. I Prefect I have the Collaborator role. What could be the cause of this 403?Brigid Gliwa
01/19/2023, 7:13 PMJon
01/19/2023, 9:48 PMNone
value as a task result with get_task_run_result
. i'm getting this error:
Task 'get_task_run_result[17]': Exception encountered during task execution!
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/prefect/engine/task_runner.py", line 880, in get_task_run_state
value = prefect.utilities.executors.run_task_with_timeout(
File "/usr/local/lib/python3.9/site-packages/prefect/utilities/executors.py", line 468, in run_task_with_timeout
return task.run(*args, **kwargs) # type: ignore
File "/usr/local/lib/python3.9/site-packages/prefect/tasks/prefect/flow_run.py", line 239, in get_task_run_result
return task_run.get_result()
File "/usr/local/lib/python3.9/site-packages/prefect/backend/task_run.py", line 75, in get_result
self._assert_result_type_is_okay()
File "/usr/local/lib/python3.9/site-packages/prefect/backend/task_run.py", line 162, in _assert_result_type_is_okay
raise ValueError(
ValueError: The task result has no `location` so the result cannot be loaded. This often means that your task result has not been configured or has been configured incorrectly.
is there a way to for me to access a task's result if it's None
? My code works when i pass an int
James Zhang
01/20/2023, 8:58 AMAdrian Brudaru
01/20/2023, 9:03 AMyogesh raju
01/20/2023, 10:07 AMHamza Naanani
01/20/2023, 10:16 AMVincent Renard
01/20/2023, 10:18 AM/
(forward slashes) into \\
double backward slashes during the upload tasks,
• Which translates into the blob being named, for example, as:
foo\\bar\\foobar.txt
• Instead of actually:
foo/bar/foobar.txt
Which would be represented as "folders" in the GCS Web interface.
We're not sure if the same issue happens on macOS or Linux
We've tried not only the upload_from_path
but also the upload_from_file_object
https://prefecthq.github.io/prefect-gcp/cloud_storage/
Thanks in advance for any feedbackHamza Kazmi
01/20/2023, 10:40 AMfrom prefect import config
what do we use in prefect 2 ?Mark NS
01/20/2023, 10:49 AMMark NS
01/20/2023, 11:14 AMGiuliano Mega
01/20/2023, 11:23 AMPREFECT_API_ENABLE_HTTP2
to disable HTTP/2, but it's unclear to me if I have to pass that to agents, task runners (I use GKE), or both. I'm gonna set it in both but would want some guidance as to keep configs less polluted. 🙂 Thanks!Ian
01/20/2023, 2:03 PMTony Alfonse
01/20/2023, 2:25 PMJason Noxon
01/20/2023, 2:59 PMJessica Smith
01/20/2023, 3:17 PMJinnzy
01/20/2023, 3:45 PMNils
01/20/2023, 4:36 PMVitaliy Kotik
01/20/2023, 5:14 PMAnkit
01/20/2023, 6:45 PMNikhil Jain
01/20/2023, 6:50 PM401 Unauthorized error
. Works fine locally. What am I doing wrong? (details in next message)Paco Ibañez
01/20/2023, 6:52 PM<http://dask.distributed.as|dask.distributed.as>_completed
https://github.com/dask/distributed/blob/main/distributed/client.py#L4955Nick Hoffmann
01/20/2023, 7:19 PMBlake Stefansen
01/20/2023, 7:28 PMVerun Rahimtoola
01/20/2023, 7:35 PMprefect.context.flow_run_id
is accessible from a state handler, when the flow is cancelled and the state handler is invoked?