wmill 1.228.0__py3-none-any.whl → 1.229.0__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.

Potentially problematic release.


This version of wmill might be problematic. Click here for more details.

wmill/client.py CHANGED
@@ -23,7 +23,7 @@ JobStatus = Literal["RUNNING", "WAITING", "COMPLETED"]
23
23
 
24
24
 
25
25
  class Windmill:
26
- def __init__(self, base_url=None, token=None, workspace=None):
26
+ def __init__(self, base_url=None, token=None, workspace=None, verify=True):
27
27
  base = base_url or os.environ.get("BASE_INTERNAL_URL")
28
28
 
29
29
  self.base_url = f"{base}/api"
@@ -32,6 +32,7 @@ class Windmill:
32
32
  "Content-Type": "application/json",
33
33
  "Authorization": f"Bearer {self.token}",
34
34
  }
35
+ self.verify = verify
35
36
  self.client = self.get_client()
36
37
  self.workspace = workspace or os.environ.get("WM_WORKSPACE")
37
38
  self.path = os.environ.get("WM_JOB_PATH")
@@ -42,6 +43,7 @@ class Windmill:
42
43
  return httpx.Client(
43
44
  base_url=self.base_url,
44
45
  headers=self.headers,
46
+ verify=self.verify,
45
47
  )
46
48
 
47
49
  def get(self, endpoint, raise_for_status=True, **kwargs) -> httpx.Response:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wmill
3
- Version: 1.228.0
3
+ Version: 1.229.0
4
4
  Summary: A client library for accessing Windmill server wrapping the Windmill client API
5
5
  Home-page: https://windmill.dev
6
6
  License: Apache-2.0
@@ -0,0 +1,7 @@
1
+ wmill/__init__.py,sha256=nGZnQPezTdrBnBW1D0JqUtm75Gdf_xi3tAcPGwHRZ5A,46
2
+ wmill/client.py,sha256=KpPT_yY7G040pO3NiuWpjOJVfRHmhaLThnjEYAuG1EA,23282
3
+ wmill/py.typed,sha256=8PjyZ1aVoQpRVvt71muvuq5qE-jTFZkK-GLHkhdebmc,26
4
+ wmill/s3_types.py,sha256=Zh-HCCVx06Z_9vLsVOEC-GrFlWqM22365kjDNpmO7Ig,1164
5
+ wmill-1.229.0.dist-info/METADATA,sha256=TNAfxGZbGE75_WKMeU8t9pfScGfHorcYE9rdGDTHcH8,2699
6
+ wmill-1.229.0.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
7
+ wmill-1.229.0.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- wmill/__init__.py,sha256=nGZnQPezTdrBnBW1D0JqUtm75Gdf_xi3tAcPGwHRZ5A,46
2
- wmill/client.py,sha256=Ko7kOwFXQ3TuWUC72b2pxb3D19dUCS75LMzL6V3IOZM,23208
3
- wmill/py.typed,sha256=8PjyZ1aVoQpRVvt71muvuq5qE-jTFZkK-GLHkhdebmc,26
4
- wmill/s3_types.py,sha256=Zh-HCCVx06Z_9vLsVOEC-GrFlWqM22365kjDNpmO7Ig,1164
5
- wmill-1.228.0.dist-info/METADATA,sha256=YTZgfQxAdEUHBQab2e8j2GFdehY6V2bu0hudlwLv-cQ,2699
6
- wmill-1.228.0.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
7
- wmill-1.228.0.dist-info/RECORD,,