bundle.pybind.plugins¶
Submodules¶
Classes¶
Helper class that provides a standard way to create an ABC using |
|
Helper class that provides a standard way to create an ABC using |
Package Contents¶
- class bundle.pybind.plugins.PybindPluginResolved[source]¶
Bases:
abc.ABCHelper class that provides a standard way to create an ABC using inheritance.
- abstractmethod apply(module: bundle.pybind.resolved.ModuleResolved) bundle.pybind.resolved.ModuleResolved[source]¶
- Async:
Applies plugin logic to a resolved module. This method is asynchronous to allow for I/O operations within plugins. It should return the (potentially modified) module. For immutability, it’s recommended to return a new instance if changes are made.
- class bundle.pybind.plugins.PybindPluginSpec[source]¶
Bases:
abc.ABCHelper class that provides a standard way to create an ABC using inheritance.
- abstractmethod apply(module: bundle.pybind.specs.ModuleSpec) bundle.pybind.specs.ModuleSpec[source]¶
- Async:
Applies plugin logic to a module specification or a resolved module. This method is asynchronous to allow for I/O operations within plugins. It should return the (potentially modified) module. For immutability, it’s recommended to return a new instance if changes are made.