Skip to content

Accept extensions when creating Python instances#56

Merged
zklapow merged 2 commits into
mainfrom
add-create-instance-extensions
Jun 17, 2026
Merged

Accept extensions when creating Python instances#56
zklapow merged 2 commits into
mainfrom
add-create-instance-extensions

Conversation

@zklapow

@zklapow zklapow commented Jun 17, 2026

Copy link
Copy Markdown
Member

Summary

  • add createInstance overloads that accept per-instance extensions
  • keep builder extension suppliers for Wizer initialization and schema definition
  • validate caller-provided extensions against the initialization import schema
  • update concurrent instance tests to pass distinct handlers explicitly

Why

Callers need to bind request-specific registries and handlers without rebuilding the factory, runtime image, or executor. The shared image only requires a stable import schema; each instance can provide different implementations for that schema.

Testing

  • build_java(modules=["core", "tests"])

@zklapow zklapow marked this pull request as ready for review June 17, 2026 12:57
@zklapow zklapow merged commit 323f5cc into main Jun 17, 2026
3 of 4 checks passed
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