def split(self, track_segment_no, track_point_no):
        new_segments = []
        for i in range(len(self.segments)):
            segment = self.segments[i]
            if i == track_segment_no:
                segment_1, segment_2 = segment.split(track_point_no)
                if segment_1:
                    new_segments.append(segment_1)
                if segment_2:
                    new_segments.append(segment_2)
            else:
                new_segments.append(segment)
        self.segments = new_segments
Return a generator of resources
dataset/ETHPy150Open tkrajina/gpxpy/gpxpy/gpx.py/GPXTrack.split--crossover with--dataset/ETHPy150Open openstack/python-openstacksdk/openstack/telemetry/v2/_proxy.py/Proxy.resources