Skip to content

Commit

Permalink
🎨 Update format of expression and conftest
Browse files Browse the repository at this point in the history
  • Loading branch information
tiangolo committed Dec 10, 2023
1 parent 05c36d3 commit 2db0fe5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sqlmodel/sql/expression.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def label(


def nulls_first(
column: Union[_ColumnExpressionArgument[_T], _T]
column: Union[_ColumnExpressionArgument[_T], _T],
) -> UnaryExpression[_T]:
return sqlalchemy.nulls_first(column) # type: ignore[arg-type]

Expand Down
2 changes: 1 addition & 1 deletion sqlmodel/sql/expression.py.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def label(


def nulls_first(
column: Union[_ColumnExpressionArgument[_T], _T]
column: Union[_ColumnExpressionArgument[_T], _T],
) -> UnaryExpression[_T]:
return sqlalchemy.nulls_first(column) # type: ignore[arg-type]

Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def coverage_run(*, module: str, cwd: Union[str, Path]) -> subprocess.CompletedP


def get_testing_print_function(
calls: List[List[Union[str, Dict[str, Any]]]]
calls: List[List[Union[str, Dict[str, Any]]]],
) -> Callable[..., Any]:
def new_print(*args):
data = []
Expand Down

0 comments on commit 2db0fe5

Please sign in to comment.