gw_dsl_parser: Convert your graphic-walker workflow to sql
Project description
gw-dsl-parser-py
Install
pip install gw-dsl-parser
Develop
pip install ./
python ./scripts/download_wasm.py
Example
from gw_dsl_parser import get_sql_from_payload
payload = {"workflow": [{"type": "view", "query": [{"op": "aggregate", "groupBy": [], "measures": [{"field": "*", "agg": "count", "asFieldKey": "count"}]}]}]}
table_name = "test_table"
sql = get_sql_from_payload(table_name, payload)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gw_dsl_parser-0.1.6a4.tar.gz
(953.6 kB
view hashes)
Built Distribution
Close
Hashes for gw_dsl_parser-0.1.6a4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2fbb0236a6f89777987847a9fe5415f05772c4c5bde1504ee9089719f23c94f |
|
MD5 | 3a8049285359e6f7a73b66e1ae547441 |
|
BLAKE2b-256 | 778df4ec8c836526c83dfe2cba7412e172abfee17985824918bf3bf7e80fb6a9 |