ignored protected-access for _unpack()

This commit is contained in:
Devaev Maxim
2020-09-30 07:25:52 +03:00
parent 3f9c32e9fc
commit 630593492a
7 changed files with 7 additions and 8 deletions

View File

@@ -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: