traffic/algorithms/navigation.py
def emergency(self) -> Iterator["Flight"]:
        """Iterates on emergency segments of trajectory.

        An emergency is defined with a 7700 squawk code.
        """
        sq7700 = self.query("squawk == '7700'")  # type: ignore
        if sq7700 is None:
            return
        yield from sq7700.split()
Iterates on emergency segments of trajectory.

        An emergency is defined with a 7700 squawk code.
        
Iterates on emergency segments of trajectory.
An emergency is defined with a 7700 squawk code.
Iterates on emergency segments of trajectory . An emergency is defined with a 7700 squawk code .
def emergency(self) -> Iterator["Flight"]:
        sq7700 = self.query("squawk == '7700'")  
        if sq7700 is None:
            return
        yield from sq7700.split()
def emergency ( self ) -> Iterator [ "Flight" ] : sq7700 = self . query ( "squawk == '7700'" ) if sq7700 is None : return yield from sq7700 . split ( )
Iterates on emergency segments of trajectory.
Iterates on emergency segments of trajectory .
"""Iterates on emergency segments of trajectory.

        An emergency is defined with a 7700 squawk code.
        """ # type: ignore
self