<@ULVA73B9P> can you give me idea on why is my par...
# ask-marvin
l
@Marvin can you give me idea on why is my parameters not showing when I'm doing this kind of deployment
Copy code
flow.from_source(
        source=GcsBucket.load(block_name), entrypoint="main.py:call_build"
    ).deploy(
        name=build_name,
        work_pool_name="default",
        # cron=cron,
        parameters={
            "client_name": client_name,
            "heartbeat_monitor_url": heartbeat_monitor_url,
        },
    )
I'm using "prefect[gcp]>=3.4.7"
m
thought for 65.9 seconds
To troubleshoot this issue, I recommend: 1. First, verify that your deployment was created successfully:
Copy code
bash
   prefect deployment ls
2. Then inspect your specific deployment:
Copy code
bash
   prefect deployment inspect "your-flow-name/build-name"
3. If you're not seeing the parameters, try explicitly setting the parameter schema in your flow definition:
Copy code
python
   from prefect import flow
   
   @flow
   def call_build(client_name: str, heartbeat_monitor_url: str):
       # your flow code here
       pass
4. You might also want to verify that the GCS bucket block is correctly configured and accessible:
Copy code
python
   from prefect_gcp.cloud_storage import GcsBucket
   
   # Test block access
   bucket = GcsBucket.load(block_name)
   print(bucket.bucket_name)  # Should print your bucket name
If after trying these steps you're still not seeing the parameters, could you please share: 1. The output of
prefect deployment inspect
for your deployment? 2. The flow function definition (
call_build
) from your main.py? 3. Any error messages you might be seeing? This would help me provide more specific guidance for your situation.
l
Ah, I don't have the parameters set on the call_build. Thanks!