Skip to content

Commit

Permalink
style: little format change
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonLovesDoggo committed Nov 24, 2023
1 parent 3c3ca92 commit 0358e07
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/api/views/objects/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def lookup_field(self):
lookup
).get_internal_type() # get value like CharField
if field_type in lookup_field_replacements.keys():
lookup = f"{lookup}{lookup_field_replacements[field_type]}"
lookup += lookup_field_replacements[field_type]
return lookup

def validate_lookup(self) -> None:
Expand Down Expand Up @@ -260,9 +260,9 @@ def __convert_query_params__(self, query_params: QueryDict) -> List[Tuple]:
k_filters = []
for key, value in query_params.lists():
if (
key
in ["limit", "offset", "search_type", "format"]
+ self.provider.listing_filters_ignore
key
in ["limit", "offset", "search_type", "format"]
+ self.provider.listing_filters_ignore
):
continue
if key not in self.listing_filters:
Expand Down

0 comments on commit 0358e07

Please sign in to comment.