traffic/core/flight.py
def assign_id(
        self, name: str = "{self.callsign}_{idx:>03}", idx: int = 0
    ) -> "Flight":
        """Assigns a flight_id to a Flight.

        This method is more generally used by the corresponding Traffic and
        LazyTraffic methods but works fine on Flight as well.
        """
        return self.assign(flight_id=name.format(self=self, idx=idx))
Assigns a flight_id to a Flight.

        This method is more generally used by the corresponding Traffic and
        LazyTraffic methods but works fine on Flight as well.
        
Assigns a flight_id to a Flight.
This method is more generally used by the corresponding Traffic and
LazyTraffic methods but works fine on Flight as well.
Assigns a flight_id to a Flight . This method is more generally used by the corresponding Traffic and LazyTraffic methods but works fine on Flight as well .
def assign_id(
        self, name: str = "{self.callsign}_{idx:>03}", idx: int = 0
    ) -> "Flight":
        return self.assign(flight_id=name.format(self=self, idx=idx))
def assign_id ( self , name : str = "{self.callsign}_{idx:>03}" , idx : int = 0 ) -> "Flight" : return self . assign ( flight_id = name . format ( self = self , idx = idx ) )
Assigns a flight_id to a Flight.
Assigns a flight_id to a Flight .
"""Assigns a flight_id to a Flight.

        This method is more generally used by the corresponding Traffic and
        LazyTraffic methods but works fine on Flight as well.
        """
self
name
str
idx
int