def get_location(self) -> Location: return Locatable.get_location(self)
def location(obj: Locatable) -> model.Location: loc = obj.get_location() return model.Location(loc.file, loc.lnr)