Example #1
0
def anykey(d):
    """
    Return any key in dictionary.
    :param d: dict: dictionary
    :return object
    """
    return next(six.iterkeys(d))
Example #2
0
def anykey(d):
    """
    Return any key in dictionary.
    :param d: dict: dictionary
    :return object
    """
    return next(six.iterkeys(d))
Example #3
0
 def get_cids(self):
     return six.iterkeys(self.get_cid_hostports_map())
Example #4
0
 def get_cids(self):
     return six.iterkeys(self.get_cid_hostports_map())