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:
|
||||
from yunohost.log import OperationLogger
|
||||
from moulinette.utils.log import MoulinetteLogger
|
||||
from bottle import HTTPResponse as HTTPResponseType
|
||||
from moulinette.utils.log import MoulinetteLogger
|
||||
logger = cast(MoulinetteLogger, getLogger("yunohost.user"))
|
||||
else:
|
||||
logger = getLogger("yunohost.user")
|
||||
|
@ -652,7 +652,7 @@ def user_info(username: str) -> dict[str, str]:
|
|||
return result_dict
|
||||
|
||||
|
||||
def user_export() -> str | HTTPResponseType:
|
||||
def user_export() -> str | "HTTPResponseType":
|
||||
"""
|
||||
Export users into CSV
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue