Typings - tmuxp._internal.types¶
Internal, typing.TYPE_CHECKING guarded typings.
These are _not_ to be imported at runtime as typing_extensions is not bundled with tmuxp. Usage example:
>>> import typing as t
>>> if t.TYPE_CHECKING:
... from tmuxp._internal.types import PluginConfigSchema
...
-
class tmuxp._internal.types.PluginConfigSchema¶class tmuxp._internal.types.PluginConfigSchema¶
Bases:
TypedDictKeyword arguments accepted by
tmuxp.plugin.TmuxpPlugin.Every key is optional.
tmuxp.plugin.setup_plugin_config()fills each omitted key fromtmuxp.plugin.DEFAULT_CONFIGbefore the plugin runs its version checks.