Skip to content

Commit

Permalink
fix: remove print statements in except block
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldaeschle authored Aug 15, 2024
1 parent 5482164 commit 4dc36db
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions weaviate/client_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ async def is_live(self) -> bool:
return True
return False
except Exception as e:

Check failure on line 170 in weaviate/client_base.py

View workflow job for this annotation

GitHub Actions / Run Type Checking (3.8, weaviate)

Variable "e" is not accessed (reportUnusedVariable)

Check failure on line 170 in weaviate/client_base.py

View workflow job for this annotation

GitHub Actions / Run Type Checking (3.9, weaviate)

Variable "e" is not accessed (reportUnusedVariable)

Check failure on line 170 in weaviate/client_base.py

View workflow job for this annotation

GitHub Actions / Run Type Checking (3.10, weaviate)

Variable "e" is not accessed (reportUnusedVariable)

Check failure on line 170 in weaviate/client_base.py

View workflow job for this annotation

GitHub Actions / Run Type Checking (3.11, weaviate)

Variable "e" is not accessed (reportUnusedVariable)

Check failure on line 170 in weaviate/client_base.py

View workflow job for this annotation

GitHub Actions / Run Type Checking (3.12, weaviate)

Variable "e" is not accessed (reportUnusedVariable)
print(e)
return False

async def is_ready(self) -> bool:
Expand All @@ -178,7 +177,6 @@ async def is_ready(self) -> bool:
return True
return False
except Exception as e:

Check failure on line 179 in weaviate/client_base.py

View workflow job for this annotation

GitHub Actions / Run Type Checking (3.8, weaviate)

Variable "e" is not accessed (reportUnusedVariable)

Check failure on line 179 in weaviate/client_base.py

View workflow job for this annotation

GitHub Actions / Run Type Checking (3.9, weaviate)

Variable "e" is not accessed (reportUnusedVariable)

Check failure on line 179 in weaviate/client_base.py

View workflow job for this annotation

GitHub Actions / Run Type Checking (3.10, weaviate)

Variable "e" is not accessed (reportUnusedVariable)

Check failure on line 179 in weaviate/client_base.py

View workflow job for this annotation

GitHub Actions / Run Type Checking (3.11, weaviate)

Variable "e" is not accessed (reportUnusedVariable)

Check failure on line 179 in weaviate/client_base.py

View workflow job for this annotation

GitHub Actions / Run Type Checking (3.12, weaviate)

Variable "e" is not accessed (reportUnusedVariable)
print(e)
return False

async def graphql_raw_query(self, gql_query: str) -> _RawGQLReturn:
Expand Down

0 comments on commit 4dc36db

Please sign in to comment.