Download src/utils.py from getWrenAI/wrenai-cloud-api-demo: direct link, hf CLI and curl.
- Browser
- Download file 150 Bytes
-
https://huggingface.co/spaces/getWrenAI/wrenai-cloud-api-demo/resolve/main/src/utils.py
- Command line
-
hf download hf://spaces/getWrenAI/wrenai-cloud-api-demo/src/utils.py
-
curl -L -o utils.py https://huggingface.co/spaces/getWrenAI/wrenai-cloud-api-demo/resolve/main/src/utils.py
150 Bytes
| import sqlparse | |
| def format_sql(sql: str) -> str: | |
| return sqlparse.format( | |
| sql, | |
| reindent=True, | |
| keyword_case="upper", | |
| ) |