コード例 #1
0
ファイル: add_continent.py プロジェクト: jrha/aquilon
    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
コード例 #2
0
ファイル: show_hub_hub.py プロジェクト: ned21/aquilon
 def render(self, session, hub, **arguments):
     return Hub.get_unique(session, hub, compel=True)