

def _getcapproperty(self):
    if (not self._capabilities):
        reader = TMSCapabilitiesReader(self.version, url=self.url, un=self.username, pw=self.password)
        reader._capabilities = ServiceMetadata(reader.read(self.url))
    return self._capabilities

dataset/ETHPy150Open geopython/OWSLib/owslib/tms.py TileMapService._getcapproperty/VarMisuse@47/57 `self`->`reader`