Skip to main content

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


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.49.1.tar.gz (946.1 kB view hashes)

Uploaded Source

Built Distribution

gw_dsl_parser-0.1.49.1-py3-none-any.whl (956.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page