mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-18 16:02:10 +00:00
fix: fix go-client generation
This commit is contained in:
@@ -117,7 +117,9 @@ func SetState(state interface{}) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
res, err := client.Client.CreateResourceWithResponse(context.Background(), client.Workspace, api.CreateResource{Value: &state})
|
||||
res, err := client.Client.CreateResourceWithResponse(context.Background(), client.Workspace, &api.CreateResourceParams{
|
||||
UpdateIfExists: newBool(true),
|
||||
}, api.CreateResource{Value: &state})
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
@@ -1,3 +1 @@
|
||||
openapi-deref.yaml
|
||||
dist/
|
||||
windmill-api/
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
__pycache__/
|
||||
build/
|
||||
dist/
|
||||
*.egg-info/
|
||||
.pytest_cache/
|
||||
|
||||
# pyenv
|
||||
.python-version
|
||||
|
||||
# Environments
|
||||
.env
|
||||
.venv
|
||||
|
||||
# mypy
|
||||
.mypy_cache/
|
||||
.dmypy.json
|
||||
dmypy.json
|
||||
|
||||
# JetBrains
|
||||
.idea/
|
||||
|
||||
/coverage.xml
|
||||
/.coverage
|
||||
Reference in New Issue
Block a user