mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-19 16:02:14 +00:00
43 lines
992 B
JSON
Executable File
43 lines
992 B
JSON
Executable File
{
|
|
"summary": "Execute an SQL query on a postgres resource",
|
|
"description": "An example of how to use resources from scripts. ",
|
|
"schema": {
|
|
"type": "object",
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"required": [
|
|
"pg_con"
|
|
],
|
|
"properties": {
|
|
"pg_con": {
|
|
"description": "",
|
|
"type": "object",
|
|
"default": null,
|
|
"format": "resource-postgres"
|
|
},
|
|
"sql_query": {
|
|
"description": "",
|
|
"type": "string",
|
|
"default": "SELECT * from demo"
|
|
}
|
|
}
|
|
},
|
|
"is_template": false,
|
|
"lock": [
|
|
"anyio==3.5.0",
|
|
"attrs==21.4.0",
|
|
"certifi==2021.10.8",
|
|
"charset-normalizer==2.0.12",
|
|
"h11==0.12.0",
|
|
"httpcore==0.14.7",
|
|
"httpx==0.21.3",
|
|
"idna==3.3",
|
|
"psycopg2-binary==2.9.3",
|
|
"python-dateutil==2.8.2",
|
|
"rfc3986[idna2008]==1.5.0",
|
|
"six==1.16.0",
|
|
"sniffio==1.2.0",
|
|
"windmill-api==1.5.0",
|
|
"wmill==1.5.0",
|
|
"wmill-pg==1.5.0"
|
|
]
|
|
} |