Annotation Interface ContextPooled


@Documented @Retention(CLASS) @Target(TYPE) @Executable @Prototype public @interface ContextPooled
An annotation that can be applied to Python types to indicate the type should use a Context retrieved from a pool to avoid GIL contention when running with multiple threads.

Pooling behaviour is automatically applied to routes Python scripts that define HTTP routes.