def __init__(self, uri):
        assert ":" in uri
        self.uri = uri
        parts = uri.split(":")
        self.type_ = parts[0]
        self.params = dict()

        for part in parts[1:]:
            key, value = part.split("=")
            self.params[key] = value
dataset/ETHPy150Open smartanthill/smartanthill1_0/smartanthill/network/service.py/ConnectionInfo.__init__/original