summaryrefslogtreecommitdiffstats
path: root/src/python-common
diff options
context:
space:
mode:
authorJohn Mulligan <jmulligan@redhat.com>2023-06-26 16:15:57 +0200
committerJohn Mulligan <jmulligan@redhat.com>2023-08-09 19:48:07 +0200
commit1e0f45f5f600c4142c830d336c7796588b7d19e2 (patch)
tree26d79a0a932a357f67027fc720e71cea074852b9 /src/python-common
parentpython-common: add InitContainerSpec type (diff)
downloadceph-1e0f45f5f600c4142c830d336c7796588b7d19e2.tar.xz
ceph-1e0f45f5f600c4142c830d336c7796588b7d19e2.zip
python-common: reformat service_spec import line
Use the "black" style of multi-line import with parens. Signed-off-by: John Mulligan <jmulligan@redhat.com>
Diffstat (limited to 'src/python-common')
-rw-r--r--src/python-common/ceph/deployment/service_spec.py17
1 files changed, 15 insertions, 2 deletions
diff --git a/src/python-common/ceph/deployment/service_spec.py b/src/python-common/ceph/deployment/service_spec.py
index 9ea5c36cb90..a72536ce4fe 100644
--- a/src/python-common/ceph/deployment/service_spec.py
+++ b/src/python-common/ceph/deployment/service_spec.py
@@ -6,8 +6,21 @@ from collections import OrderedDict
from contextlib import contextmanager
from functools import wraps
from ipaddress import ip_network, ip_address
-from typing import Optional, Dict, Any, List, Union, Callable, Iterable, Type, TypeVar, cast, \
- NamedTuple, Mapping, Iterator
+from typing import (
+ Any,
+ Callable,
+ Dict,
+ Iterable,
+ Iterator,
+ List,
+ Mapping,
+ NamedTuple,
+ Optional,
+ Type,
+ TypeVar,
+ Union,
+ cast,
+)
import yaml