You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The JSON representation for Duration is a String that ends in s to indicate seconds and is preceded by the number of seconds, with nanoseconds expressed as fractional seconds.
Opened from the Prefect Public Slack Community
dekel.r: Hey,
I have a flow running using Vertex Run - this is my run config -
It works without the scheduling parameter - I added it and used this documentation -
https://docs.prefect.io/orchestration/flow_config/run_configs.html#vertexrun
Now when registering to Prefect cloud and running I get this error -
Am I missing something?
Thanks
anna: It looks like perhaps the google Python package changed something so that now it no longer expects this timeout as a string but rather as
google.protobuf.Duration
? But this would be surprising since based on https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Duration|this:All we do with this, it seems, on the agent side is passing it to the Vertex task definition in this JSON format https://github.com/PrefectHQ/prefect/blob/master/src/prefect/agent/vertex/agent.py#L170-L171
anna: Let me open an issue for this since I don't know why it occurs and this would need a deeper investigation:
<@ULVA73B9P> open "Flow run using VertexRun fails with a protobuf error when using the timeout scheduling argument"
Original thread can be found here.
The text was updated successfully, but these errors were encountered: