Skip to content

chore: track sdk-gen remove stream_wrap_async_yield (no sdk diff) - #419

Closed
chyroc wants to merge 1 commit into
mainfrom
chore/track-remove-stream-wrap-async-yield-no-diff
Closed

chore: track sdk-gen remove stream_wrap_async_yield (no sdk diff)#419
chyroc wants to merge 1 commit into
mainfrom
chore/track-remove-stream-wrap-async-yield-no-diff

Conversation

@chyroc

@chyroc chyroc commented Feb 26, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • track sdk-gen removal of stream_wrap_async_yield
  • regenerated Python SDK output has no file changes
  • this is a traceability PR (no sdk diff)

Upstream

Validation

  • ./scripts/genpy.sh --output-sdk /data00/home/chenyunpeng.1024/code/github/coze-dev/coze-sdk-gen-6/exist-repo/coze-py --ci-check
    • generation/lint/type-check/build/tests passed
    • no generated file diff

@chyroc chyroc added the chore Project maintenance work not related to features and bug fixes label Feb 26, 2026
chyroc added a commit to coze-dev/coze-sdk-gen that referenced this pull request Feb 26, 2026
## Summary
- remove `api.operation_mappings[].stream_wrap_async_yield` from
generator config schema
- remove existing `stream_wrap_async_yield` entries in
`config/generator.yaml`
- switch async stream-wrap yield decision to generator inference
(`stream`/`resume` methods yield; others return `AsyncStream`)
- keep current generated behavior for existing mappings by inference,
without requiring the config switch

## Non-overlap With Existing Open PRs
- This change does not overlap with current open config-removal tracks:
  - `arg_defaults_sync` (#52)
  - `pagination_request_arg` (#53, #54)
  - unwrap inference track (#36)

## Validation
- `./scripts/fmt.sh`
- `./scripts/lint.sh`
- `./scripts/test.sh` (Total coverage: 83.1%)
- `./scripts/build.sh`
- `./scripts/gengo.sh`
- `./scripts/diffgo.sh` (zero diff)
- `./scripts/genpy.sh --output-sdk exist-repo/coze-py --ci-check`

## Notes
- During validation bootstrap, local baseline repos were prepared under
`exist-repo/` per AGENTS instructions.

## Downstream PR
- coze-py PR: coze-dev/coze-py#419
@chyroc

chyroc commented Feb 26, 2026

Copy link
Copy Markdown
Collaborator Author

Closing as no-op sync: regenerated SDK has zero file diff for this sdk-gen change, so downstream PR is tracked then closed per workflow rule.

@chyroc chyroc closed this Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Project maintenance work not related to features and bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant