https://prefect.io logo
j

Jose

07/22/2023, 9:29 PM
Hey people, I’m having troubles adding an automation. my deployment flow has only one parameter called “event”, and when I type this happens:
👀 1
Might have something to do with the formatter? Its impossible for me to add the event as the input of the flow parameter.
c

Craig Harshbarger

07/23/2023, 2:25 AM
Hmm we’ve had this same issue before and fixed it so surprised to see it again. Can you share the schema for your deployment? Can you also let me know if you have the same issue when attempting to run the deployment from the ui? Or is it just happening when creating an automation.
j

Jose

07/23/2023, 4:22 PM
Hey Craig, the issue happens on Automation UI. The parameters section is not suffering this issue on the textarea.
Copy code
###
### A complete description of a Prefect Deployment for flow 'webhook-flow-twilio-inbound'
###
name: twilio_deployment
description: null
version: 43bb017a1f896d27549f2ac800bbf3f2
# The work queue that will handle this deployment's runs
work_queue_name: default
work_pool_name: inbound-sms-workpool
tags: []
parameters: {}
schedule: null
is_schedule_active: null
infra_overrides: {}
infrastructure:
  type: process
  env: {}
  labels: {}
  name: null
  command: null
  stream_output: true
  working_dir: null
  block_type_slug: process
  _block_type_slug: process

###
### DO NOT EDIT BELOW THIS LINE
###
flow_name: webhook-flow-twilio-inbound
manifest_path: null
storage: null
path: /path/to/myproject
entrypoint: orchestration/webhook_flow_twilio_inbound.py:webhook_flow_twilio_inbound
parameter_openapi_schema:
  title: Parameters
  type: object
  properties:
    inbound_event:
      title: inbound_event
      position: 0
  required:
  - inbound_event
  definitions: null
timestamp: '2023-07-22T21:36:52.908516+00:00'
triggers: []
@Craig Harshbarger is this what you need or you want me to share the inspect json?
c

Craig Harshbarger

07/23/2023, 5:37 PM
@Jose that’ll work. Thank you! I think I know what’s up here. I’ll reply back to this thread when we have a fix in place.
🙌 1
j

Jose

07/23/2023, 5:37 PM
Thanks Craig! thanks for the quick response 🙂
c

Craig Harshbarger

07/24/2023, 4:22 PM
@Jose we just merged a fix for this. That'll go out this week with the next release
🙌 1