Skip to content

Commit

Permalink
Revert "fix - deal with case when check view exists returns None (#5740
Browse files Browse the repository at this point in the history
…)"

This reverts commit 5352281.
  • Loading branch information
ishaan-jaff authored Sep 17, 2024
1 parent 5352281 commit 9d20bbf
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions litellm/proxy/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -991,11 +991,6 @@ async def check_view_exists(self):
"""
)
expected_total_views = len(expected_views)

# Deal with case when ret is None
if ret is None:
ret = [{"view_count": 0, "view_names": []}]

if ret[0]["view_count"] == expected_total_views:
verbose_proxy_logger.info("All necessary views exist!")
return
Expand Down

0 comments on commit 9d20bbf

Please sign in to comment.