traffic/core/flight.py
def query_opensky(self, **kwargs) -> Optional["Flight"]:
        """Returns data from the same Flight as stored in OpenSky database.

        This may be useful if you write your own parser for data from a
        different channel. The method will use the ``callsign`` and ``icao24``
        attributes to build a request for current Flight in the OpenSky Network
        database.

        The kwargs argument helps overriding arguments from the query, namely
        start, stop, callsign and icao24.

        Returns None if no data is found.

        .. note::
            Read more about access to the OpenSky Network database `here
            <opensky_impala.html>`_
        """

        from ..data import opensky

        query_params = {
            "start": self.start,
            "stop": self.stop,
            "callsign": self.callsign,
            "icao24": self.icao24,
            "return_flight": True,
            **kwargs,
        }
        return opensky.history(**query_params)
Returns data from the same Flight as stored in OpenSky database.

        This may be useful if you write your own parser for data from a
        different channel. The method will use the ``callsign`` and ``icao24``
        attributes to build a request for current Flight in the OpenSky Network
        database.

        The kwargs argument helps overriding arguments from the query, namely
        start, stop, callsign and icao24.

        Returns None if no data is found.

        .. note::
            Read more about access to the OpenSky Network database `here
            <opensky_impala.html>`_
        
Returns data from the same Flight as stored in OpenSky database.
This may be useful if you write your own parser for data from a
different channel.

The kwargs argument helps overriding arguments from the query, namely
start, stop, callsign and icao24.

Returns None if no data is found.

:
Read more about access to the OpenSky Network database `here
`_
Returns data from the same Flight as stored in OpenSky database . This may be useful if you write your own parser for data from a different channel . The kwargs argument helps overriding arguments from the query namely start stop callsign and icao24 . Returns None if no data is found . : Read more about access to the OpenSky Network database ` here ` _
def query_opensky(self, **kwargs) -> Optional["Flight"]:
        from ..data import opensky
        query_params = {
            "start": self.start,
            "stop": self.stop,
            "callsign": self.callsign,
            "icao24": self.icao24,
            "return_flight": True,
            **kwargs,
        }
        return opensky.history(**query_params)
def query_opensky ( self , ** kwargs ) -> Optional [ "Flight" ] : from . . data import opensky query_params = { "start" : self . start , "stop" : self . stop , "callsign" : self . callsign , "icao24" : self . icao24 , "return_flight" : True , ** kwargs , } return opensky . history ( ** query_params )
Returns data from the same Flight as stored in OpenSky database.
Returns data from the same Flight as stored in OpenSky database .
"""Returns data from the same Flight as stored in OpenSky database.

        This may be useful if you write your own parser for data from a
        different channel. The method will use the ``callsign`` and ``icao24``
        attributes to build a request for current Flight in the OpenSky Network
        database.

        The kwargs argument helps overriding arguments from the query, namely
        start, stop, callsign and icao24.

        Returns None if no data is found.

        .. note::
            Read more about access to the OpenSky Network database `here
            <opensky_impala.html>`_
        """
self