Skip to content

Commit

Permalink
update lockfile
Browse files Browse the repository at this point in the history
  • Loading branch information
klahnakoski committed May 31, 2024
1 parent 2fbd64b commit 1d65b0b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 10 deletions.
1 change: 0 additions & 1 deletion mo_sql_parsing/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ def format(json, ansi_quotes=True, should_quote=None):
:param should_quote: Function that returns True if a string should be quoted (because contains spaces, etc)
:return: SQL string
"""
from mo_sql_parsing.sql_parser import utils as _
from mo_sql_parsing.formatting import Formatter

return Formatter(ansi_quotes, should_quote).dispatch(json)
Expand Down
4 changes: 2 additions & 2 deletions mo_sql_parsing/sql_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
# Contact: Kyle Lahnakoski ([email protected])
#
from mo_parsing import debug, Null
from mo_parsing.whitespaces import NO_WHITESPACE, Whitespace
from mo_parsing.whitespaces import NO_WHITESPACE

from mo_sql_parsing import utils
from mo_sql_parsing.keywords import *
from mo_sql_parsing.types import get_column_type, time_functions, _sizes
from mo_sql_parsing.types import get_column_type, time_functions, _sizes, unary_ops
from mo_sql_parsing.utils import *
from mo_sql_parsing.windows import window

Expand Down
4 changes: 0 additions & 4 deletions mo_sql_parsing/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@


# KNOWN TYPES
from mo_imports import export
from mo_parsing import (
Forward,
Group,
Expand Down Expand Up @@ -277,6 +276,3 @@ def get_column_type(expr, identifier, literal_string):
set_parser_names()

return column_type, column_definition, column_def_references, column_options


export("mo_sql_parsing.utils", unary_ops)
3 changes: 0 additions & 3 deletions mo_sql_parsing/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,12 @@

from mo_dots import is_data, is_null, literal_field, unliteral_field
from mo_future import text, number_types, binary_type, flatten
from mo_imports import expect
from mo_parsing import *
from mo_parsing import whitespaces
from mo_parsing.utils import is_number, listwrap

from mo_sql_parsing import simple_op

unary_ops = expect("unary_ops")


class Call(object):
__slots__ = ["op", "args", "kwargs"]
Expand Down

0 comments on commit 1d65b0b

Please sign in to comment.