Exemple #1
0
    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
Exemple #2
0
 def render(self, session, hub, **arguments):
     return Hub.get_unique(session, hub, compel=True)