]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: black format agent.py
authorJohn Mulligan <jmulligan@redhat.com>
Sat, 9 Mar 2024 16:35:02 +0000 (11:35 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Mon, 11 Mar 2024 18:29:02 +0000 (14:29 -0400)
Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/cephadm/cephadmlib/agent.py

index 71924c39ccfe06e124e4d64cabf6bb1649f5ea46..330ea6945f343a984c2a0b3a68929bf015355018 100644 (file)
@@ -6,13 +6,14 @@ import logging
 logger = logging.getLogger()
 
 
-def http_query(addr: str = '',
-               port: str = '',
-               data: Optional[bytes] = None,
-               endpoint: str = '',
-               ssl_ctx: Optional[Any] = None,
-               timeout: Optional[int] = 10) -> Tuple[int, str]:
-
+def http_query(
+    addr: str = '',
+    port: str = '',
+    data: Optional[bytes] = None,
+    endpoint: str = '',
+    ssl_ctx: Optional[Any] = None,
+    timeout: Optional[int] = 10,
+) -> Tuple[int, str]:
     url = f'https://{addr}:{port}{endpoint}'
     logger.debug(f'sending query to {url}')
     try: