示例#1
0
 def segments(self):
     """ Return the list of valid segments for the current report suite """
     if self.account.cache:
         data = self.request_cached('Segments', 'Get')
     else:
         data = self.request('Segments', 'Get')
     return Segment.list('segments', data, self, 'name', 'id')
示例#2
0
 def segments(self):
     """ Return the list of valid segments for the current report suite """
     if self.account.cache:
         data = self.request_cached('Segments', 'Get')
     else:
         data = self.request('Segments', 'Get')
     return Segment.list('segments', data, self, 'name', 'id')
 def segments(self):
     """ Return the list of valid segments for the current report suite """
     data = self.request('Segments', 'Get')
     return Segment.list('segments', data, self, 'name', 'id')
示例#4
0
 def segments(self):
     """ Return the list of valid segments for the current report suite """
     data = self.request('Segments', 'Get')
     return Segment.list('segments', data, self, 'name', 'id')
示例#5
0
 def segments(self):
     data = self.request('ReportSuite', 'GetSegments')[0]['sc_segments']
     return Segment.list('segments', data, self, 'name', 'id')
示例#6
0
 def segments(self):
     data = self.request('ReportSuite', 'GetSegments')[0]['sc_segments']
     return Segment.list('segments', data, self, 'name', 'id')