Skip to content

Embed the POP product and gateway in generated Python clients - #141

Closed
yndu13 wants to merge 1 commit into
aliyun:masterfrom
yndu13:feature/builtin-pop-v4
Closed

yndu13 wants to merge 1 commit into
aliyun:masterfrom
yndu13:feature/builtin-pop-v4

Conversation

@yndu13

@yndu13 yndu13 commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

Summary

  • When a product Teafile sets productId and the module extends the OpenAPI client, the generated constructor sets _product_id and attaches the POP gateway client.
  • setup.py requires alibabacloud_gateway_pop 0.1.4.
  • Callers select signature version v4. An unset signature version keeps the existing default.

Test plan

  • mocha tests/main.tests.js, including the OpenAPI product fixture

Made with Cursor

Generated product clients set the product name and attach the POP gateway, so callers only select signature version v4.

Co-authored-by: Cursor <cursoragent@cursor.com>
@yndu13

yndu13 commented Oct 28, 2026

Copy link
Copy Markdown
Contributor Author

Product id and the POP gateway belong in the product DSL. The generic Darabonba generator should only translate DSL, so this change is being withdrawn.

@yndu13 yndu13 closed this Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant