refactoring

This commit is contained in:
Maxim Devaev
2022-04-06 00:39:16 +03:00
parent 8ce08fb456
commit 6f6772a6b6
16 changed files with 68 additions and 69 deletions

View File

@@ -36,6 +36,13 @@ from ....logging import get_logger
from .... import htclient
from ....htserver import exposed_http
from ....htserver import make_json_response
from ....htserver import make_json_exception
from ....htserver import start_streaming
from ....htserver import stream_json
from ....htserver import stream_json_exception
from ....plugins.msd import BaseMsd
from ....validators.basic import valid_bool
@@ -44,13 +51,6 @@ from ....validators.basic import valid_float_f01
from ....validators.net import valid_url
from ....validators.kvm import valid_msd_image_name
from ..http import exposed_http
from ..http import make_json_response
from ..http import make_json_exception
from ..http import start_streaming
from ..http import stream_json
from ..http import stream_json_exception
# ======
class MsdApi: