Package io.micronaut.context.python
@Configuration
@Requires(property="micronaut.python.enabled",
notEquals="false")
@NullMarked
package io.micronaut.context.python
Core APIs for Python integration.
-
ClassDescriptionConfiguration options for the GraalPy context.Customizes every GraalPy context builder created by Micronaut.Factory bean that creates and initializes the GraalPy context.Runtime utility class for converting GraalPy Values to Java collections.Adapter invoked from Python async member facades.Converts a polyglot value to a generated Java wrapper type.A Python value evaluated and cached independently in each pooled GraalPy context.A generated pooled Python stub that can resolve its Python value for a specific context.Configuration for Python asyncio integration.Runtime helpers for Python coroutine bridge methods.Completes futures with Java exceptions from Python exception data.Runs
asyncio.run_in_executor(None, ...)callbacks on Micronaut's blocking executor.CompletableFuture variant that can propagate Java cancellation to a Python task.Configuration for Micronaut Python integration.Executes a callback with exclusive access to a Python-owned polyglot context.Runtime coordination point for generated Python bridge classes.Pre-split Python class identity used by generated bridge code.Event-loop operations required to drive Micronaut-managed Python asyncio tasks.Provides the active Python event loop for the current execution.Configuration for the PythonPool.Strategy interface that defines a host target type mapping for GraalVM HostAccess.Generated Java wrapper for a Python object that can expose its underlying polyglot value.Build-time generated JavaBean accessor aliases for Python wrappers.Private host reference exposed throughValueCoercible.HOST_OBJECT_MEMBER.