File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ def _(result: ParseResults) -> Reference:
103103 return Reference ("." .join (result .column ))
104104
105105
106- boolean = one_of (["true" , "false" ], caseless = True ). set_results_name ( "boolean" )
106+ boolean = one_of (["true" , "false" ], caseless = True )
107107string = sgl_quoted_string .set_results_name ("raw_quoted_string" )
108108decimal = common .real ().set_results_name ("decimal" )
109109integer = common .signed_integer ().set_results_name ("integer" )
@@ -115,7 +115,7 @@ def _(result: ParseResults) -> Reference:
115115
116116@boolean .set_parse_action
117117def _ (result : ParseResults ) -> Literal [bool ]:
118- if strtobool (result . boolean ):
118+ if strtobool (result [ 0 ] ):
119119 return BooleanLiteral (True )
120120 else :
121121 return BooleanLiteral (False )
Original file line number Diff line number Diff line change 2222import pyiceberg .table as table
2323
2424
25- def test_table_import_without_pyparsing_diagnostic_warning () -> None :
25+ def test_table_import_has_no_ungrouped_named_tokens_warning () -> None :
2626 diagnostic = pp .Diagnostics .warn_ungrouped_named_tokens_in_collection
2727 was_enabled = pp .__diag__ .warn_ungrouped_named_tokens_in_collection
2828
You can’t perform that action at this time.
0 commit comments