def get_type_id(self, version: int, returnTypeId: str) -> str:
    assert (version >= 2)
    nextId = self.next.get_type_id(version, returnTypeId)
    return self.inner.get_type_id(version, returnTypeId=nextId)
def get_type_id(self, version: int, returnTypeId: str) -> str:
    assert (version >= 2)
    nextId = self.next.get_type_id(version, returnTypeId)
    return self.inner.get_type_id(version, returnTypeId=nextId)