mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-19 08:01:25 +00:00
f932e4c916
* feat: Add Python SDK capabilities to generate Polars and DuckDB connection settings to S3 * Add endpoint to list S3 objects * Add FE to set the workspace S3 resource * Fix openapi * sqlx prepare * Hide Windmil LFS tab
17 lines
658 B
Markdown
17 lines
658 B
Markdown
Testing pythong wmill client
|
|
============================
|
|
|
|
Make sure you have a local windmill BE running and listening on localhost:8000 (either using cargo run or via the docker compose).
|
|
|
|
Install the local package to your virtual env:
|
|
```bash
|
|
# this is necessary only if you made a change to the BE API via the openapi.yml file
|
|
cd ./windmill-api # you can generate it using the build.sh script at the root of this repo
|
|
pip3 install .
|
|
|
|
cd ./wmill
|
|
pip3 install .
|
|
```
|
|
|
|
Then you can run go to `wmill_client_test.py` and add a Token and Workspace if necessary. You can then implement your own test calling any function in the wmill client and test its output.
|