ohnope.plugins.rootserv package#
Submodules#
ohnope.plugins.rootserv.params module#
Functions and routines associated with rawberth Oh-nope IRC Services.
This file is part of Enasis Network software eco-system. Distribution is permitted, for more information consult the project license file.
- class ohnope.plugins.rootserv.params.RootServParams(_parse: ~typing.Callable[[...], ~typing.Any] | None = None, *, enable: bool = True, locate: ~typing.Annotated[str | None, ~annotated_types.MinLen(min_length=1)] = None, trusted: ~typing.Annotated[list[str] | None, ~annotated_types.MinLen(min_length=1)] = None, nickname: ~typing.Annotated[str, ~annotated_types.MinLen(min_length=1)] = 'RootServ', realname: ~typing.Annotated[str, ~annotated_types.MinLen(min_length=1)] = 'Network administration', unique: ~typing.Annotated[str, ~annotated_types.MinLen(min_length=1)] = 'ROOTS0', status: ~enrobie.plugins.status.params.StatusPluginIconParams = <factory>)#
Bases:
RobiePluginParamsProcess and validate the core configuration parameters.
- enable: Annotated[bool, FieldInfo(annotation=NoneType, required=False, default=True, description='Determine if service enabled')]#
- model_config = {'extra': 'forbid'}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- nickname: Annotated[str, FieldInfo(annotation=NoneType, required=False, default='RootServ', description='What nickname for the service', metadata=[MinLen(min_length=1)])]#
- realname: Annotated[str, FieldInfo(annotation=NoneType, required=False, default='Network administration', description='What realname for the service', metadata=[MinLen(min_length=1)])]#
- status: Annotated[StatusPluginIconParams, FieldInfo(annotation=NoneType, required=False, default_factory=StatusPluginIconParams, description='Icon used per chat platform')]#
ohnope.plugins.rootserv.plugin module#
Functions and routines associated with rawberth Oh-nope IRC Services.
This file is part of Enasis Network software eco-system. Distribution is permitted, for more information consult the project license file.
- class ohnope.plugins.rootserv.plugin.RootServ(robie: Robie, name: str, params: RobieChildParams)#
Bases:
RobiePluginIntegrate with the Robie routine and perform operations.
- property params: RootServParams#
Return the Pydantic model containing the configuration.
- Returns:
Pydantic model containing the configuration.
Module contents#
Functions and routines associated with rawberth Oh-nope IRC Services.
This file is part of Enasis Network software eco-system. Distribution is permitted, for more information consult the project license file.
- class ohnope.plugins.rootserv.RootServ(robie: Robie, name: str, params: RobieChildParams)#
Bases:
RobiePluginIntegrate with the Robie routine and perform operations.
- property params: RootServParams#
Return the Pydantic model containing the configuration.
- Returns:
Pydantic model containing the configuration.
- class ohnope.plugins.rootserv.RootServParams(_parse: ~typing.Callable[[...], ~typing.Any] | None = None, *, enable: bool = True, locate: ~typing.Annotated[str | None, ~annotated_types.MinLen(min_length=1)] = None, trusted: ~typing.Annotated[list[str] | None, ~annotated_types.MinLen(min_length=1)] = None, nickname: ~typing.Annotated[str, ~annotated_types.MinLen(min_length=1)] = 'RootServ', realname: ~typing.Annotated[str, ~annotated_types.MinLen(min_length=1)] = 'Network administration', unique: ~typing.Annotated[str, ~annotated_types.MinLen(min_length=1)] = 'ROOTS0', status: ~enrobie.plugins.status.params.StatusPluginIconParams = <factory>)#
Bases:
RobiePluginParamsProcess and validate the core configuration parameters.
- enable: Annotated[bool, FieldInfo(annotation=NoneType, required=False, default=True, description='Determine if service enabled')]#
- model_config = {'extra': 'forbid'}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- nickname: Annotated[str, FieldInfo(annotation=NoneType, required=False, default='RootServ', description='What nickname for the service', metadata=[MinLen(min_length=1)])]#
- realname: Annotated[str, FieldInfo(annotation=NoneType, required=False, default='Network administration', description='What realname for the service', metadata=[MinLen(min_length=1)])]#
- status: Annotated[StatusPluginIconParams, FieldInfo(annotation=NoneType, required=False, default_factory=StatusPluginIconParams, description='Icon used per chat platform')]#