googleapis / gapic-generator-python

Generate Python API client libraries from Protocol Buffers.
Apache License 2.0
122 stars 69 forks source link

compute_v1_generated_forwarding_rules_insert_sync.py not running in async fashion #2034

Open mallocash05 opened 5 months ago

mallocash05 commented 5 months ago

https://github.com/googleapis/google-cloud-python/blob/main/packages/google-cloud-compute/samples/generated_samples/compute_v1_generated_forwarding_rules_insert_sync.py

the code snippet runs in couple seconds but exits without a confirmation that the operation ran successfully

checked the response.status , status: RUNNING means that this code snippet is not exactly "sync"

parthea commented 5 months ago

Hi @mallocash05,

Thanks for reporting this issue. I'm going to move this issue to the repository which produces the generated code samples so we can work on a fix.