def render(self, session, continent, hub, fullname, comments, **arguments): dbhub = Hub.get_unique(session, hub, compel=True) add_location(session, Continent, continent, dbhub, fullname=fullname, comments=comments) session.flush() return
def render(self, session, hub, **arguments): return Hub.get_unique(session, hub, compel=True)