pyvikunja 0.16__py3-none-any.whl → 0.17__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pyvikunja/api.py +6 -1
- {pyvikunja-0.16.dist-info → pyvikunja-0.17.dist-info}/METADATA +1 -1
- {pyvikunja-0.16.dist-info → pyvikunja-0.17.dist-info}/RECORD +6 -6
- {pyvikunja-0.16.dist-info → pyvikunja-0.17.dist-info}/LICENSE +0 -0
- {pyvikunja-0.16.dist-info → pyvikunja-0.17.dist-info}/WHEEL +0 -0
- {pyvikunja-0.16.dist-info → pyvikunja-0.17.dist-info}/top_level.txt +0 -0
pyvikunja/api.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
import logging
|
2
|
+
from functools import cached_property
|
2
3
|
from typing import List, Dict, Any, Optional
|
3
4
|
from urllib.parse import urlparse, urlunparse
|
4
5
|
|
@@ -29,7 +30,11 @@ class VikunjaAPI:
|
|
29
30
|
self.api_base_url = self._normalize_api_base_url(self.host)
|
30
31
|
self.headers = {"Authorization": f"Bearer {token}"}
|
31
32
|
self.strict_ssl = strict_ssl
|
32
|
-
|
33
|
+
|
34
|
+
@cached_property
|
35
|
+
def client(self) -> httpx.AsyncClient:
|
36
|
+
"""Lazily instantiate the HTTP client when first accessed."""
|
37
|
+
return httpx.AsyncClient(verify=self.strict_ssl)
|
33
38
|
|
34
39
|
@property
|
35
40
|
def web_ui_link(self):
|
@@ -1,5 +1,5 @@
|
|
1
1
|
pyvikunja/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
pyvikunja/api.py,sha256=
|
2
|
+
pyvikunja/api.py,sha256=lXQiHwRYLhsor7lnIAylV4pDqGTMkFNxbllVXcLJq_8,7170
|
3
3
|
pyvikunja/models/label.py,sha256=cOOuVYDVDMmK96Ev22EDgWwXljkAonQNL4XsTMay4K4,467
|
4
4
|
pyvikunja/models/models.py,sha256=VmnBKs_DhcF1CNE3b2MhH4harwZo1697cMhTXetLGWk,822
|
5
5
|
pyvikunja/models/project.py,sha256=viVIe3lVgbh7k05ADDds1cwzvC1vf4tT2vSNjbB7KMk,1179
|
@@ -8,8 +8,8 @@ pyvikunja/models/team.py,sha256=0Z3828Cm3nNuNr1z2on63fLYAVW325_SQKi5RmqXf-I,559
|
|
8
8
|
pyvikunja/models/user.py,sha256=36duFNyGXKzlwqO0d6FA-C1KTCci2sIMU1IBIF-N_LM,310
|
9
9
|
pyvikunja/models/enum/repeat_mode.py,sha256=xkDPfYeRz342ovqro1UVBAoegpPgpZQYTnyo2sf6R7I,112
|
10
10
|
pyvikunja/models/enum/task_priority.py,sha256=aVz1HEofIqwUkXG0vYm58n_vLNbgqtbvHuQ5K-YQqA0,119
|
11
|
-
pyvikunja-0.
|
12
|
-
pyvikunja-0.
|
13
|
-
pyvikunja-0.
|
14
|
-
pyvikunja-0.
|
15
|
-
pyvikunja-0.
|
11
|
+
pyvikunja-0.17.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
|
12
|
+
pyvikunja-0.17.dist-info/METADATA,sha256=hKBxZftp4CXcOn7ATrJV6tZrBH5ttJgEOMKYbCjL9z8,188
|
13
|
+
pyvikunja-0.17.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
|
14
|
+
pyvikunja-0.17.dist-info/top_level.txt,sha256=WVV9zgxUBuWOkUY1t_U7zI0paWWTVelKYB4vjsiKsks,10
|
15
|
+
pyvikunja-0.17.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|