Skip to content

[Brook] feat(python): generate a caller per service over a replaceable transport - #39

Closed
moetemp wants to merge 15 commits into
moe/brook/v3/n2-long-poll-parsingfrom
moe/brook/v3/n4-client-transport
Closed

moetemp wants to merge 15 commits into
moe/brook/v3/n2-long-poll-parsingfrom
moe/brook/v3/n4-client-transport

Conversation

@moetemp

@moetemp moetemp commented Oct 21, 2026 •

Copy link
Copy Markdown
Owner

What changed?

This PR adds --client. The Python target writes client.py with one caller per service over a Transport, for code outside a Workflow. It merges #54, the upstream version.

Why?

Brook's Activities and clients call the Stream service through the worker extension, so they need a caller over a transport they choose.

How did you test it?

Covered by #54: a sample test over a fake transport.

The Stream WIT no longer marks any operation one-way, so the parser,
generator, tests, docs and changelog fragment go.
@moetemp
moetemp changed the base branch from moe/brook/v3/n3-one-way to moe/brook/v3/n2-long-poll-parsing October 22, 2026 06:58
With --client, client.py has one caller per service for code outside a Workflow. The caller
converts user values with a data converter, and a Transport carries each call.
@moetemp moetemp changed the title [Brook] Generated a Python caller per service over a replaceable transport. [Brook] Generate a Python caller per service over a replaceable transport Oct 22, 2026
@moetemp moetemp changed the title [Brook] Generate a Python caller per service over a replaceable transport feat(brook): generate a Python caller per service over a replaceable transport Oct 22, 2026
@moetemp moetemp changed the title feat(brook): generate a Python caller per service over a replaceable transport [Brook] feat(python): generate a caller per service over a replaceable transport Oct 22, 2026
@moetemp

moetemp commented Oct 25, 2026

Copy link
Copy Markdown
Owner Author

Closing as superseded. The Python caller over a transport goes upstream with UPSTREAM-8 (#54). Plan: https://www.notion.so/4048fc567738814990b7c796ac28fe3f

@moetemp moetemp closed this Oct 25, 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