

def items(self, srs=None, profile=None):
    'supports dict-like items() access'
    items = []
    if ((not srs) and (not profile)):
        for item in self.contents:
            items.append((srs, self.contents[item]))
    elif (srs and profile):
        for item in self.contents:
            if ((self.contents[item].srs == srs) and (self.contents[item].profile == profile)):
                items.append((item, self.contents[item]))
    elif srs:
        for item in self.contents:
            if (self.contents[item].srs == srs):
                items.append((item, self.contents[item]))
    elif profile:
        for item in self.contents:
            if (self.contents[item].profile == profile):
                items.append((item, self.contents[item]))
    return items

dataset/ETHPy150Open geopython/OWSLib/owslib/tms.py TileMapService.items/VarMisuse@54/68 `item`->`srs`