diff --git a/lib/repositories/environment.py b/lib/repositories/environment.py index 6c621fb..05a8cc0 100644 --- a/lib/repositories/environment.py +++ b/lib/repositories/environment.py @@ -19,6 +19,7 @@ class EnvRepository(Repository): def __init__(self): super().__init__("environments") self._env = None + self._env_id = None def fetch_env(self, environment: Env): self.env = environment diff --git a/lib/repositories/flight.py b/lib/repositories/flight.py index 003469b..ee9631f 100644 --- a/lib/repositories/flight.py +++ b/lib/repositories/flight.py @@ -19,6 +19,7 @@ class FlightRepository(Repository): def __init__(self): super().__init__("flights") self._flight = None + self._flight_id = None def fetch_flight(self, flight: Flight): self.flight = flight diff --git a/lib/repositories/motor.py b/lib/repositories/motor.py index 4251a46..af61d7a 100644 --- a/lib/repositories/motor.py +++ b/lib/repositories/motor.py @@ -19,6 +19,7 @@ class MotorRepository(Repository): def __init__(self): super().__init__("motors") self._motor = None + self._motor_id = None def fetch_motor(self, motor: Motor): self.motor = motor