It seems you're encountering an issue where parameters appear as empty arrays in Prefect Cloud, despite being used correctly in your flow and tasks. This discrepancy might be due to how Prefect Cloud handles and displays parameters.
Here's what I found:
1.
Parameter Handling in Prefect: Prefect processes parameters and may resolve them in a way that doesn't directly reflect their values in the UI. This can happen if parameters are transformed or if nested parameters are involved, which might not be displayed correctly in the cloud interface.
2.
Task Run Names: The fact that your task run names include inputs suggests that the parameters are indeed being passed and utilized correctly, but the cloud interface might not be displaying them as expected.
3.
No Documented GitHub Issues: There are no open issues in the Prefect repository related to parameters displaying as empty arrays, indicating this might not be a widespread problem or it might be specific to your setup.
To address this, consider:
-
Checking Parameter Resolution: Ensure that parameters are resolved correctly in your code before they are passed to tasks and flows. This includes verifying any transformations or mappings applied to them.
-
Prefect Cloud Settings: Review your Prefect Cloud settings and ensure that your workspace and API configurations are correct. This can sometimes affect how data is displayed.
For further troubleshooting, you might want to explore Prefect's
troubleshooting guide or reach out to the Prefect community for more specific guidance. If the issue persists, consider raising it with Prefect support or on their GitHub repository.