def segment(self):
        """ Associated (full) :class:`stravalib.model.Segment` object. """
        if self._segment is None:
            self.assert_bind_client()
            if self.id is not None:
                self._segment = self.bind_client.get_segment(self.id)
        return self._segment
def segment ( self ) : if self . _segment is None : self . assert_bind_client ( ) if self . id is not None : self . _segment = self . bind_client . get_segment ( self . id ) return self . _segment
Associated (full) :class:`stravalib.model.Segment` object.