

def readString(self, st):
    if (not isinstance(st, str)):
        raise ValueError(('String must be of type string, not %s' % type(st)))
    self._parse(etree.fromstring(st))

dataset/ETHPy150Open geopython/OWSLib/owslib/tms.py TileMap.readString/original