wmill 1.245.1__py3-none-any.whl → 1.246.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
@@ -219,6 +219,9 @@ class Windmill:
219
219
  def get_job(self, job_id: str) -> dict:
220
220
  return self.get(f"/w/{self.workspace}/jobs_u/get/{job_id}").json()
221
221
 
222
+ def get_id_token(self, audience: str) -> dict:
223
+ return self.get(f"/w/{self.workspace}/oidc/token/{audience}").text
224
+
222
225
  def get_job_status(self, job_id: str) -> JobStatus:
223
226
  job = self.get_job(job_id)
224
227
  job_type = job.get("type", "")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wmill
3
- Version: 1.245.1
3
+ Version: 1.246.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=9IxaslfIug9tQ4JVbaovh-Uhmn5i9rgTIzpelmkF2xI,22907
3
+ wmill/py.typed,sha256=8PjyZ1aVoQpRVvt71muvuq5qE-jTFZkK-GLHkhdebmc,26
4
+ wmill/s3_types.py,sha256=axVibTMtpynBwaCVK0O6bBao56no01qflyIGRaVyV6s,1149
5
+ wmill-1.246.0.dist-info/METADATA,sha256=cnOARc27yJUWQAOrs570U3e-YAjb9Y95-309qThfifM,2699
6
+ wmill-1.246.0.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
7
+ wmill-1.246.0.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- wmill/__init__.py,sha256=nGZnQPezTdrBnBW1D0JqUtm75Gdf_xi3tAcPGwHRZ5A,46
2
- wmill/client.py,sha256=Vj42TKJ8YV_6q7Ul3xfbdKjhARJctQbBmZHPhTBV1G4,22780
3
- wmill/py.typed,sha256=8PjyZ1aVoQpRVvt71muvuq5qE-jTFZkK-GLHkhdebmc,26
4
- wmill/s3_types.py,sha256=axVibTMtpynBwaCVK0O6bBao56no01qflyIGRaVyV6s,1149
5
- wmill-1.245.1.dist-info/METADATA,sha256=f3BDsPnK1zF24UL4HcOUuPcpjplj8xB6Jcz6IzhMKzU,2699
6
- wmill-1.245.1.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
7
- wmill-1.245.1.dist-info/RECORD,,