xpublish.plugins.included.module_version.ModuleVersionPlugin#

pydantic model xpublish.plugins.included.module_version.ModuleVersionPlugin[source]#

Share the currently loaded versions of key libraries.

Show JSON schema
{
   "title": "ModuleVersionPlugin",
   "description": "Share the currently loaded versions of key libraries.",
   "type": "object",
   "properties": {
      "name": {
         "title": "Name",
         "default": "module_version",
         "type": "string"
      },
      "app_router_prefix": {
         "title": "App Router Prefix",
         "default": "",
         "type": "string"
      },
      "app_router_tags": {
         "title": "App Router Tags",
         "default": [
            "module_version"
         ],
         "type": "array",
         "items": {
            "type": "string"
         }
      }
   }
}

Fields:
field app_router_prefix: str = ''#
field app_router_tags: Sequence[str] = ['module_version']#
field name: str = 'module_version'#
app_router()[source]#

Return a router with module version information.

Return type:

APIRouter