feat: OIDC support (#3017)
* oidc * update * feat: add support for multiselect in python * d * d * progress * all * all * all
This commit is contained in:
1
python-client/.gitignore
vendored
1
python-client/.gitignore
vendored
@@ -0,0 +1 @@
|
||||
windmill-api/
|
||||
|
||||
BIN
python-client/wmill/dist/wmill-1.245.0-py3-none-any.whl
vendored
Normal file
BIN
python-client/wmill/dist/wmill-1.245.0-py3-none-any.whl
vendored
Normal file
Binary file not shown.
BIN
python-client/wmill/dist/wmill-1.245.0.tar.gz
vendored
Normal file
BIN
python-client/wmill/dist/wmill-1.245.0.tar.gz
vendored
Normal file
Binary file not shown.
@@ -219,6 +219,9 @@ class Windmill:
|
||||
def get_job(self, job_id: str) -> dict:
|
||||
return self.get(f"/w/{self.workspace}/jobs_u/get/{job_id}").json()
|
||||
|
||||
def get_id_token(self, audience: str) -> dict:
|
||||
return self.get(f"/w/{self.workspace}/oidc/token/{audience}").text
|
||||
|
||||
def get_job_status(self, job_id: str) -> JobStatus:
|
||||
job = self.get_job(job_id)
|
||||
job_type = job.get("type", "")
|
||||
|
||||
BIN
python-client/wmill_pg/dist/wmill_pg-1.245.0-py3-none-any.whl
vendored
Normal file
BIN
python-client/wmill_pg/dist/wmill_pg-1.245.0-py3-none-any.whl
vendored
Normal file
Binary file not shown.
BIN
python-client/wmill_pg/dist/wmill_pg-1.245.0.tar.gz
vendored
Normal file
BIN
python-client/wmill_pg/dist/wmill_pg-1.245.0.tar.gz
vendored
Normal file
Binary file not shown.
Reference in New Issue
Block a user