supervisor_pydantic.RpcInterfaceConfiguration

pydantic model supervisor_pydantic.RpcInterfaceConfiguration[source]

Bases: _BaseCfgModel

Show JSON schema
{
   "title": "RpcInterfaceConfiguration",
   "type": "object",
   "properties": {
      "rpcinterface_factory": {
         "default": "supervisor.rpcinterface:make_main_rpcinterface",
         "description": "pkg_resources \u201centry point\u201d dotted name to your RPC interface\u2019s factory function.",
         "title": "Rpcinterface Factory",
         "type": "string"
      },
      "kwargs": {
         "anyOf": [
            {
               "additionalProperties": true,
               "type": "object"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Kwargs"
      }
   }
}

Fields:
  • kwargs (Dict[str, Any] | None)

  • rpcinterface_factory (str)

to_cfg(key: str) str[source]
field rpcinterface_factory: str = 'supervisor.rpcinterface:make_main_rpcinterface'

pkg_resources “entry point” dotted name to your RPC interface’s factory function.

field kwargs: Dict[str, Any] | None = None