mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
quality: similar to previous commit...
This commit is contained in:
parent
d4f39da20f
commit
611846aa19
1 changed files with 2 additions and 2 deletions
|
@ -36,8 +36,8 @@ from yunohost.utils.system import binary_to_human
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from yunohost.log import OperationLogger
|
from yunohost.log import OperationLogger
|
||||||
from moulinette.utils.log import MoulinetteLogger
|
|
||||||
from bottle import HTTPResponse as HTTPResponseType
|
from bottle import HTTPResponse as HTTPResponseType
|
||||||
|
from moulinette.utils.log import MoulinetteLogger
|
||||||
logger = cast(MoulinetteLogger, getLogger("yunohost.user"))
|
logger = cast(MoulinetteLogger, getLogger("yunohost.user"))
|
||||||
else:
|
else:
|
||||||
logger = getLogger("yunohost.user")
|
logger = getLogger("yunohost.user")
|
||||||
|
@ -652,7 +652,7 @@ def user_info(username: str) -> dict[str, str]:
|
||||||
return result_dict
|
return result_dict
|
||||||
|
|
||||||
|
|
||||||
def user_export() -> str | HTTPResponseType:
|
def user_export() -> str | "HTTPResponseType":
|
||||||
"""
|
"""
|
||||||
Export users into CSV
|
Export users into CSV
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue