enrobie.robie.params package#
Submodules#
enrobie.robie.params.child module#
enrobie.robie.params.client module#
- class enrobie.robie.params.client.RobieClientParams[source]#
Bases:
RobieChildParamsProcess and validate the Robie configuration parameters.
Fields# Field
Type
Required
Default
Constraints
enableNo
FalseNo
Nonemin_length=1
enrobie.robie.params.common module#
enrobie.robie.params.person module#
- class enrobie.robie.params.person.RobiePersonMatchParams[source]#
Bases:
RobieParamsModelProcess and validate the Robie configuration parameters.
Fields# Field
Type
Required
Default
Constraints
Yes
min_length=1
Yes
min_length=1
- class enrobie.robie.params.person.RobiePersonParams[source]#
Bases:
RobieChildParamsProcess and validate the Robie configuration parameters.
Fields# Field
Type
Required
Default
Constraints
No
Nonemin_length=1
enableNo
FalseNo
Nonemin_length=1
No
Nonemin_length=1
Yes
No
50ge=1, le=100
- first: Annotated[str | None, FieldInfo(annotation=NoneType, required=False, default=None, description='Additional optional information', metadata=[MinLen(min_length=1)])]#
- last: Annotated[str | None, FieldInfo(annotation=NoneType, required=False, default=None, description='Additional optional information', metadata=[MinLen(min_length=1)])]#
- about: Annotated[str | None, FieldInfo(annotation=NoneType, required=False, default=None, description='Additional optional information', metadata=[MinLen(min_length=1)])]#
- matches: Annotated[list[RobiePersonMatchParams], FieldInfo(annotation=NoneType, required=True, description='How the user will be identified')]#
enrobie.robie.params.plugin module#
- class enrobie.robie.params.plugin.RobiePluginParams[source]#
Bases:
RobieChildParamsProcess and validate the Robie configuration parameters.
Fields# Field
Type
Required
Default
Constraints
enableNo
FalseNo
Nonemin_length=1
No
Nonemin_length=1
- locate: Annotated[str | None, FieldInfo(annotation=NoneType, required=False, default=None, description='For which plugin are parameters', examples=['enrobie.plugins.AinswerPlugin', 'enrobie.plugins.AutoJoinPlugin', 'enrobie.plugins.AutoNickPlugin', 'enrobie.plugins.StatusPlugin'], metadata=[MinLen(min_length=1)])]#
enrobie.robie.params.robie module#
- class enrobie.robie.params.robie.RobiePrinterParams[source]#
Bases:
RobieParamsModelProcess and validate the Robie configuration parameters.
- class enrobie.robie.params.robie.RobieParams[source]#
Bases:
ParamsProcess and validate the core configuration parameters.
Fields# Field
Type
Required
Default
Constraints
dict[str,RobieClientParams] |NoneNo
Nonemin_length=1
No
FalseNo
'sqlite:///:memory:'min_length=1
No
FalseenconfigNo
NoneencryptsNo
NoneenloggerNo
Nonedict[str,RobiePersonParams] |NoneNo
Nonemin_length=1
dict[str,RobiePluginParams] |NoneNo
Nonemin_length=1
No
factory
No
factory
- database: Annotated[str, FieldInfo(annotation=NoneType, required=False, default='sqlite:///:memory:', description='Database connection string', metadata=[MinLen(min_length=1)])]#
- console: Annotated[bool, FieldInfo(annotation=NoneType, required=False, default=False, description='Output console information; parameter is parsed by and used in low-level config')]#
- debug: Annotated[bool, FieldInfo(annotation=NoneType, required=False, default=False, description='Enable logging level debug; parameter is parsed by and used in low-level config')]#
- printer: Annotated[RobiePrinterParams, FieldInfo(annotation=NoneType, required=False, default_factory=RobiePrinterParams, description='Print messages to console')]#
- service: Annotated[RobieServiceParams, FieldInfo(annotation=NoneType, required=False, default_factory=RobieServiceParams, description='Parameters for Robie Service')]#
- clients: Annotated[dict[str, RobieClientParams] | None, FieldInfo(annotation=NoneType, required=False, default=None, description='Parameters for Robie clients', metadata=[MinLen(min_length=1)])]#
enrobie.robie.params.service module#
- class enrobie.robie.params.service.RobieServiceRespiteParams[source]#
Bases:
RobieParamsModelProcess and validate the Robie configuration parameters.
- class enrobie.robie.params.service.RobieServiceParams[source]#
Bases:
RobieParamsModelProcess and validate the Robie configuration parameters.
Fields# Field
Type
Required
Default
No
factory
- respite: Annotated[RobieServiceRespiteParams, FieldInfo(annotation=NoneType, required=False, default_factory=RobieServiceRespiteParams, description='When operates are performed')]#
Module contents#
- class enrobie.robie.params.RobieParams[source]#
Bases:
ParamsProcess and validate the core configuration parameters.
Fields# Field
Type
Required
Default
Constraints
dict[str,RobieClientParams] |NoneNo
Nonemin_length=1
No
FalseNo
'sqlite:///:memory:'min_length=1
No
FalseenconfigNo
NoneencryptsNo
NoneenloggerNo
Nonedict[str,RobiePersonParams] |NoneNo
Nonemin_length=1
dict[str,RobiePluginParams] |NoneNo
Nonemin_length=1
No
factory
No
factory
- database: Annotated[str, FieldInfo(annotation=NoneType, required=False, default='sqlite:///:memory:', description='Database connection string', metadata=[MinLen(min_length=1)])]#
- console: Annotated[bool, FieldInfo(annotation=NoneType, required=False, default=False, description='Output console information; parameter is parsed by and used in low-level config')]#
- debug: Annotated[bool, FieldInfo(annotation=NoneType, required=False, default=False, description='Enable logging level debug; parameter is parsed by and used in low-level config')]#
- printer: Annotated[RobiePrinterParams, FieldInfo(annotation=NoneType, required=False, default_factory=RobiePrinterParams, description='Print messages to console')]#
- service: Annotated[RobieServiceParams, FieldInfo(annotation=NoneType, required=False, default_factory=RobieServiceParams, description='Parameters for Robie Service')]#
- clients: Annotated[dict[str, RobieClientParams] | None, FieldInfo(annotation=NoneType, required=False, default=None, description='Parameters for Robie clients', metadata=[MinLen(min_length=1)])]#
- class enrobie.robie.params.RobieParamsModel[source]#
Bases:
BaseModelProcess and validate the Robie configuration parameters.
- class enrobie.robie.params.RobiePrinterParams[source]#
Bases:
RobieParamsModelProcess and validate the Robie configuration parameters.
- class enrobie.robie.params.RobieChildParams[source]#
Bases:
RobieParamsModelProcess and validate the Robie configuration parameters.
- class enrobie.robie.params.RobiePluginParams[source]#
Bases:
RobieChildParamsProcess and validate the Robie configuration parameters.
Fields# Field
Type
Required
Default
Constraints
enableNo
FalseNo
Nonemin_length=1
No
Nonemin_length=1
- locate: Annotated[str | None, FieldInfo(annotation=NoneType, required=False, default=None, description='For which plugin are parameters', examples=['enrobie.plugins.AinswerPlugin', 'enrobie.plugins.AutoJoinPlugin', 'enrobie.plugins.AutoNickPlugin', 'enrobie.plugins.StatusPlugin'], metadata=[MinLen(min_length=1)])]#
- class enrobie.robie.params.RobieClientParams[source]#
Bases:
RobieChildParamsProcess and validate the Robie configuration parameters.
Fields# Field
Type
Required
Default
Constraints
enableNo
FalseNo
Nonemin_length=1
- class enrobie.robie.params.RobiePersonParams[source]#
Bases:
RobieChildParamsProcess and validate the Robie configuration parameters.
Fields# Field
Type
Required
Default
Constraints
No
Nonemin_length=1
enableNo
FalseNo
Nonemin_length=1
No
Nonemin_length=1
Yes
No
50ge=1, le=100
- first: Annotated[str | None, FieldInfo(annotation=NoneType, required=False, default=None, description='Additional optional information', metadata=[MinLen(min_length=1)])]#
- last: Annotated[str | None, FieldInfo(annotation=NoneType, required=False, default=None, description='Additional optional information', metadata=[MinLen(min_length=1)])]#
- about: Annotated[str | None, FieldInfo(annotation=NoneType, required=False, default=None, description='Additional optional information', metadata=[MinLen(min_length=1)])]#
- matches: Annotated[list[RobiePersonMatchParams], FieldInfo(annotation=NoneType, required=True, description='How the user will be identified')]#
- class enrobie.robie.params.RobieServiceParams[source]#
Bases:
RobieParamsModelProcess and validate the Robie configuration parameters.
Fields# Field
Type
Required
Default
No
factory
- respite: Annotated[RobieServiceRespiteParams, FieldInfo(annotation=NoneType, required=False, default_factory=RobieServiceRespiteParams, description='When operates are performed')]#