Skip to content

Commit

Permalink
fixes repositories connection close timing
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielBarberini committed Dec 28, 2023
1 parent 8247097 commit 6ecc978
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions lib/repositories/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ async def get_env(self) -> "Union[Env, None]":
return None
except Exception as e:
raise Exception(f"Error getting environment: {str(e)}")
finally:
self.__del__()

async def delete_env(self) -> "DeleteResult":
"""
Expand Down
2 changes: 0 additions & 2 deletions lib/repositories/flight.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@ async def get_flight(self) -> "Union[Flight, None]":
return None
except Exception as e:
raise Exception(f"Error getting flight: {str(e)}")
finally:
self.__del__()

async def delete_flight(self) -> "DeleteResult":
"""
Expand Down
2 changes: 0 additions & 2 deletions lib/repositories/motor.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ async def get_motor(self) -> "Union[motor, None]":
return None
except Exception as e:
raise Exception(f"Error getting motor: {str(e)}")
finally:
self.__del__()

async def delete_motor(self) -> "DeleteResult":
"""
Expand Down
2 changes: 0 additions & 2 deletions lib/repositories/rocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ async def get_rocket(self) -> "Union[Rocket, None]":
return None
except Exception as e:
raise Exception(f"Error getting rocket: {str(e)}")
finally:
self.__del__()

async def delete_rocket(self) -> "DeleteResult":
"""
Expand Down

0 comments on commit 6ecc978

Please sign in to comment.