Skip to content

snippetgen: streaming methods have syntax errors #1014

@busunkim96

Description

@busunkim96

Generated snippets for streaming methods have incorrect syntax:

# Initialize request argument(s)
request = logging_v2.TailLogEntriesRequest(
resource_names=['resource_names_value'],
)
# Make the request
stream = await client.tail_log_entries([resource_names=['resource_names_value']])
async for response in stream:
print(response)

Metadata

Metadata

Assignees

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions