diff options
| author | Andi Albrecht <albrecht.andi@gmail.com> | 2015-10-26 19:51:54 +0100 |
|---|---|---|
| committer | Andi Albrecht <albrecht.andi@gmail.com> | 2015-10-26 19:51:54 +0100 |
| commit | dce6100348f92663f855b3c791031fd5a991844a (patch) | |
| tree | 41d2d3824c9548ca58ba672cdadbba011f9fea83 /extras/appengine/static/sqlformat_client_example.py | |
| parent | 4aff8c729adc8363ffd23b593b9d4b729487cde8 (diff) | |
| download | sqlparse-dce6100348f92663f855b3c791031fd5a991844a.tar.gz | |
Remove old Appengine application.
Diffstat (limited to 'extras/appengine/static/sqlformat_client_example.py')
| -rw-r--r-- | extras/appengine/static/sqlformat_client_example.py | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/extras/appengine/static/sqlformat_client_example.py b/extras/appengine/static/sqlformat_client_example.py deleted file mode 100644 index 8b2a9e9..0000000 --- a/extras/appengine/static/sqlformat_client_example.py +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env python - -import urllib -import urllib2 - -REMOTE_API = 'http://sqlformat.appspot.com/format/' - -payload = ( - ('data', 'select * from foo join bar on val1 = val2 where id = 123;'), - ('format', 'text'), - ('keyword_case', 'upper'), - ('reindent', True), - ('n_indents', 2), - ) - - -response = urllib2.urlopen(REMOTE_API, - urllib.urlencode(payload)) -print response.read() - |
