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
If I try to run a flow using the CLI and add params using the example in the help section (from calling prefect run cloud -h) I get an error message. For example: prefect run cloud -n Params-New -p Jenny -ps {"c":3}
Gives the following error: json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)
If I enter the params as a string with an escape round other speechmarks, it works:
For example: prefect run cloud -n Params-New -p Jenny -ps "{\"c\":3}"
works fine
Expected Behavior
Best case scenario: prefect run cloud -n Params-New -p Jenny -ps {"c":3} works fine.
Second best:
We update the docs to show an example with correct JSON formatting.
Reproduction
prefect run cloud -n FLOWNAME -p PROJECT -ps {"c":3}
Environment
The text was updated successfully, but these errors were encountered:
Description
If I try to run a flow using the CLI and add params using the example in the help section (from calling prefect run cloud -h) I get an error message. For example:
prefect run cloud -n Params-New -p Jenny -ps {"c":3}
Gives the following error:
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)
If I enter the params as a string with an escape round other speechmarks, it works:
For example:
prefect run cloud -n Params-New -p Jenny -ps "{\"c\":3}"
works fine
Expected Behavior
Best case scenario:
prefect run cloud -n Params-New -p Jenny -ps {"c":3}
works fine.Second best:
We update the docs to show an example with correct JSON formatting.
Reproduction
prefect run cloud -n FLOWNAME -p PROJECT -ps {"c":3}
Environment
The text was updated successfully, but these errors were encountered: