Skip to content

Consolidate async callable detection - #1659

Merged
meta-codesync[bot] merged 1 commit into
mainfrom
export-D121805543
Sep 25, 2026
Merged

meta-codesync[bot] merged 1 commit into
mainfrom
export-D121805543

Conversation

@moto-meta

Copy link
Copy Markdown
Contributor

Summary: Centralize detection of callable objects, coroutine callables, async-generator callables, and either async callable kind in spdl.pipeline._common._convert. Reuse those helpers in conversion, path-variant router dispatch, pipeline definition validation, and fused-region thread accounting so callable instances with async call methods are handled consistently.

Differential Revision: D121805543

Summary: Centralize detection of callable objects, coroutine callables, async-generator callables, and either async callable kind in spdl.pipeline._common._convert. Reuse those helpers in conversion, path-variant router dispatch, pipeline definition validation, and fused-region thread accounting so callable instances with async __call__ methods are handled consistently.

Differential Revision: D121805543
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Sep 25, 2026
@meta-codesync

meta-codesync Bot commented Sep 25, 2026

Copy link
Copy Markdown
Contributor

@moto-meta has exported this pull request. If you are a Meta employee, you can view the originating Diff in D121805543.

@meta-codesync
meta-codesync Bot merged commit d64fea5 into main Sep 25, 2026
112 of 116 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants