File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -353,10 +353,11 @@ def get_query_type(sql: str) -> QueryType:
353353
354354def escape_keyword (word : str ) -> str :
355355 if word .upper () in RESERVED_WORDS :
356- return f" \" { word } \" "
356+ return f'" { word } "'
357357 else :
358358 return word
359359
360+
360361# DynamoDB reserved words
361362# https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html
362363RESERVED_WORDS = [
Original file line number Diff line number Diff line change @@ -36,7 +36,9 @@ class DmlBase(Base):
3636 ],
3737 )
3838
39- ATTR_NAME = Opt ('"' ) + Word (alphanums + "_-" )("attr_name" ).set_name ("attr_name" ) + Opt ('"' )
39+ ATTR_NAME = (
40+ Opt ('"' ) + Word (alphanums + "_-" )("attr_name" ).set_name ("attr_name" ) + Opt ('"' )
41+ )
4042 ATTR_ARRAY_NAME = ATTR_NAME + "[" + Word (nums ) + "]"
4143
4244 _COLUMN_NAME = (
Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ boto3>=1.21.0
22botocore >= 1.24.7
33tenacity >= 4.1.0
44pyparsing >= 3.0.0
5- sqlean.py == 3.45.1
5+ sqlean.py >= 3.45.0
Original file line number Diff line number Diff line change 1414 "botocore>=1.24.7" ,
1515 "tenacity>=4.1.0" ,
1616 "pyparsing>=3.0.0" ,
17- "sqlean.py== 3.45.1 " ,
17+ "sqlean.py>= 3.45.0 " ,
1818]
1919
2020extras_require = {
You can’t perform that action at this time.
0 commit comments