def METHOD_NAME(self, ref: Optional[str]) -> Label[Any]:
    for table in self.tables:
        if ref in table.refs:
            return table.refs[ref]
    raise InvalidMapping("Missing reference: %s" % ref)