mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 17:11:52 +08:00
ignored protected-access for _unpack()
This commit is contained in:
@@ -36,7 +36,7 @@ from kvmd.plugins.auth import get_auth_service_class
|
||||
async def get_configured_auth_service(name: str, **kwargs: Any) -> AsyncGenerator[BaseAuthService, None]:
|
||||
service_class = get_auth_service_class(name)
|
||||
config = make_config(kwargs, service_class.get_plugin_options())
|
||||
service = service_class(**config._unpack()) # pylint: disable=protected-access
|
||||
service = service_class(**config._unpack())
|
||||
try:
|
||||
yield service
|
||||
finally:
|
||||
|
||||
Reference in New Issue
Block a user