Skip to content

Commit 8f237b7

Browse files
committed
formatting
1 parent 12afdd8 commit 8f237b7

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

btrdb/conn.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
## Imports
1616
##########################################################################
1717

18+
import importlib.metadata
1819
import json
1920
import logging
20-
import importlib.metadata
2121
import os
2222
import re
2323
import uuid as uuidlib
@@ -132,7 +132,12 @@ def __init__(self, apikey, client_call_details):
132132
if client_call_details.metadata is not None:
133133
metadata = list(client_call_details.metadata)
134134
metadata.append(("authorization", "Bearer " + apikey))
135-
metadata.append(("x-api-client", "btrdbpy-" + importlib.metadata.version("btrdb")))
135+
metadata.append(
136+
(
137+
"x-api-client",
138+
"btrdbpy-" + importlib.metadata.version("btrdb"),
139+
)
140+
)
136141
self.method = client_call_details.method
137142
self.timeout = client_call_details.timeout
138143
self.credentials = client_call_details.credentials

0 commit comments

Comments
 (0)