code: def split(self, value=10, unit=None):  # noqa: F811
          
          if type(value) == int and unit is None:
              # default value is 10 m
              unit = "m"
  
          for data in _split(self.data, value, unit):
              yield self.__class__(data)
docs: Splits Flights in several legs.
  
          By default, Flights are split if no value is given during 10 minutes.