We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6a5864 commit 147a27cCopy full SHA for 147a27c
2 files changed
leakix/__init__.py
@@ -3,3 +3,5 @@
3
from leakix.plugin import *
4
from leakix.query import *
5
from leakix.response import *
6
+
7
+__VERSION__ = "0.1.2"
leakix/client.py
@@ -10,6 +10,7 @@
10
11
12
from leakix.field import *
13
+from leakix import __VERSION__
14
15
16
class Scope(Enum):
@@ -24,13 +25,12 @@ class HostResult(Model):
24
25
26
class Client:
27
BASE_URL = "https://leakix.net"
- VERSION = "0.1.0"
28
29
def __init__(self, api_key: Optional[str] = None):
30
self.api_key = api_key
31
self.headers = {
32
"Accept": "application/json",
33
- "User-agent": "LeakIX-client-python/%s" % self.VERSION,
+ "User-agent": "leakix-client-python/%s" % __VERSION__,
34
}
35
if api_key:
36
self.headers["api-key"] = api_key
0 commit comments