rakeshkumar1812 commited on
Commit
3c5836b
·
verified ·
1 Parent(s): 87164b0

Delete utils.py

Browse files
Files changed (1) hide show
  1. utils.py +0 -24
utils.py DELETED
@@ -1,24 +0,0 @@
1
-
2
- def remove_triple_quotes(sql_query):
3
- print('the incoming sql_query is :\n', sql_query)
4
-
5
- if sql_query.startswith('"""') and sql_query.endswith('"""'):
6
- sql_query = sql_query[3:-3].strip()
7
- print('the outgoing sql_query is :\n', sql_query)
8
- return sql_query
9
-
10
- elif sql_query.startswith("'''") and sql_query.endswith("'''"):
11
- sql_query = sql_query[3:-3].strip()
12
- print('the outgoing sql_query is :\n', sql_query)
13
- return sql_query
14
-
15
- elif sql_query.startswith("```") and sql_query.endswith("```"):
16
- sql_query = sql_query[3:-3].strip()
17
- print('the outgoing sql_query is :\n', sql_query)
18
- return sql_query
19
-
20
- else:
21
- print('the outgoing sql_query is :\n', sql_query)
22
- return sql_query
23
-
24
-