From: John Mulligan Date: Wed, 13 Dec 2023 19:37:17 +0000 (-0500) Subject: mgr/orchestrator: clean up import style X-Git-Tag: testing/wip-batrick-testing-20240411.154038~126^2~21 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=96456aaf46d13ee29529c4fb031a90f0e4a795a8;p=ceph-ci.git mgr/orchestrator: clean up import style In the seemingly never-ending fight against line continuations and just blatting tons of stuff onto single lines another small victory is won. Signed-off-by: John Mulligan --- diff --git a/src/pybind/mgr/orchestrator/module.py b/src/pybind/mgr/orchestrator/module.py index 96a2d910401..3e80621ef83 100644 --- a/src/pybind/mgr/orchestrator/module.py +++ b/src/pybind/mgr/orchestrator/module.py @@ -26,13 +26,32 @@ from mgr_util import to_pretty_timedelta, format_bytes from mgr_module import MgrModule, HandleCommandResult, Option from object_format import Format -from ._interface import OrchestratorClientMixin, DeviceLightLoc, _cli_read_command, \ - raise_if_exception, _cli_write_command, OrchestratorError, \ - NoOrchestrator, OrchestratorValidationError, NFSServiceSpec, \ - RGWSpec, InventoryFilter, InventoryHost, HostSpec, CLICommandMeta, \ - ServiceDescription, DaemonDescription, IscsiServiceSpec, json_to_generic_spec, \ - GenericSpec, DaemonDescriptionStatus, SNMPGatewaySpec, MDSSpec, TunedProfileSpec, \ - NvmeofServiceSpec +from ._interface import ( + CLICommandMeta, + DaemonDescription, + DaemonDescriptionStatus, + DeviceLightLoc, + GenericSpec, + HostSpec, + InventoryFilter, + InventoryHost, + IscsiServiceSpec, + MDSSpec, + NFSServiceSpec, + NoOrchestrator, + NvmeofServiceSpec, + OrchestratorClientMixin, + OrchestratorError, + OrchestratorValidationError, + RGWSpec, + SNMPGatewaySpec, + ServiceDescription, + TunedProfileSpec, + _cli_read_command, + _cli_write_command, + json_to_generic_spec, + raise_if_exception, +) def nice_delta(now: datetime.datetime, t: Optional[datetime.datetime], suffix: str = '') -> str: