Skip to content

Commit

Permalink
type fix
Browse files Browse the repository at this point in the history
  • Loading branch information
iNishant committed Jul 4, 2024
1 parent 545cf5d commit 5ddaba6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions django_querysets_single_query_fetch/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,8 @@ def _convert_raw_results_to_final_queryset_results(
return queryset_results

def _get_empty_queryset_value(self, queryset: QuerysetWrapperType) -> Any:
empty_sql_val: Any

if isinstance(queryset, QuerysetCountWrapper):
empty_sql_val = 0
elif isinstance(queryset, QuerysetGetOrNoneWrapper):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setuptools.setup(
name="django_querysets_single_query_fetch",
version="0.0.10",
version="0.0.11",
description="Execute multiple Django querysets in a single SQL query",
long_description="Utility which executes multiple Django querysets over a single network/query call and returns results which would have been returned in normal evaluation of querysets",
author="Nishant Singh",
Expand Down

0 comments on commit 5ddaba6

Please sign in to comment.