It returns the registered stickers in the system.
    :return: a DisplayList object
552743
def sticker_templates():
    
    voc = DisplayList()
    stickers = getStickerTemplates()
    for sticker in stickers:
        voc.add(sticker.get('id'), sticker.get('title'))
    if voc.index == 0:
        logger.warning('Sampletype: getStickerTemplates is empty!')
    return voc
474725
def list(self):
        
        response = self._swimlane.request('get', 'app')
        return [App(self._swimlane, item) for item in response.json()]
934692
def items(self):
        
        return {dep.task: value for dep, value in self._result.items()}.items()
378613
def labels(self):
        
        return [
            name for name in os.listdir(self.root)
            if os.path.isdir(os.path.join(self.root, name))
        ]
1035563
def get_labels(self):
        
        return github.PaginatedList.PaginatedList(
            github.Label.Label,
            self._requester,
            self.issue_url + "/labels",
            None
        )
5569
def to_array(self):
        
        array = super(StickerSet, self).to_array()
        array['name'] = u(self.name)  # py2: type unicode, py3: type str

        array['title'] = u(self.title)  # py2: type unicode, py3: type str

        array['contains_masks'] = bool(self.contains_masks)  # type bool
        array['stickers'] = self._as_array(self.stickers)  # type list of Sticker

        return array
726164
def display_candidates(self, tree, html_path, filename_prefix):
        
        imgs = self.display_boxes(
            tree, html_path, filename_prefix, alternate_colors=True
        )
        return display(*imgs)
49664
def list_straten_adapter(obj, request):
    
    return {
        'id': obj.id,
        'label': obj.label,
        'status': {
            'id': obj.status.id,
            'naam': obj.status.naam,
            'definitie': obj.status.definitie
        },
    }
945751
def BatchLabelVocabulary(self):
        
        bsc = getToolByName(self, 'bika_setup_catalog')
        ret = []
        for p in bsc(portal_type='BatchLabel',
                     is_active=True,
                     sort_on='sortable_title'):
            ret.append((p.UID, p.Title))
        return DisplayList(ret)
639319
def displayName( self ):
        
        if ( not self._displayName ):
            return projex.text.pretty(self.objectName())
        return self._displayName
1055637
def toDict(self):
        
        return {
            'scoreClass': self.scoreClass.__name__,
            'titles': dict((title, titleAlignments.toDict())
                           for title, titleAlignments in self.items()),
        }
1312707
def get_catalogs(self):
        
        if self.retrieved:
            raise errors.IllegalState('List has already been retrieved.')
        self.retrieved = True
        return objects.CatalogList(self._results, runtime=self._runtime)
712752
def access_labels(self):
        
        access_labels = []
        for referrer in self.referrers:
            referrer_labels = [key for key, val in self.root.labels.items()
                               if val == referrer]
            port_labels = [key for key, val in referrer.labels.items()
                           if val == self]
            if referrer is self.root:
                for label in port_labels:
                    access_labels.append("['{}']".format(label))
            for label in itertools.product(referrer_labels, port_labels):
                access_labels.append("['{}']".format("']['".join(label)))

        return access_labels
970553
def display(self):
        
        for line in self.adb_shell('dumpsys display').splitlines():
            m = _DISPLAY_RE.search(line, 0)
            if not m:
                continue
            w = int(m.group('width'))
            h = int(m.group('height'))
            return collections.namedtuple('Display', ['width', 'height'])(w, h)
        else:
            w, h = self.info['displayWidth'], self.info['displayHeight']
            return collections.namedtuple('Display', ['width', 'height'])(w, h)
129217
def labels(self):
        
        if self._labels is None:
            cmd = ["skopeo", "inspect", self.skopeo_target]
            self._labels = json.loads(subprocess.check_output(cmd))["Labels"]
        return self._labels
437446
def get_branding_ids(self):
        
        from ..id.objects import IdList
        if 'brandingIds' not in self._my_map:
            return IdList([])
        id_list = []
        for idstr in self._my_map['brandingIds']:
            id_list.append(Id(idstr))
        return IdList(id_list)
1157304
def getDisplayIdentifier(self):
        
        if self.display_identifier is not None:
            return self.display_identifier
        if self.claimed_id is None:
            return None
        else:
            return urllib.parse.urldefrag(self.claimed_id)[0]