本文整理匯總了Python中indico.modules.events.controllers.base.RHDisplayEventBase._process_args方法的典型用法代碼示例。如果您正苦於以下問題:Python RHDisplayEventBase._process_args方法的具體用法?Python RHDisplayEventBase._process_args怎麽用?Python RHDisplayEventBase._process_args使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類indico.modules.events.controllers.base.RHDisplayEventBase
的用法示例。
在下文中一共展示了RHDisplayEventBase._process_args方法的8個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: _process_args
# 需要導入模塊: from indico.modules.events.controllers.base import RHDisplayEventBase [as 別名]
# 或者: from indico.modules.events.controllers.base.RHDisplayEventBase import _process_args [as 別名]
def _process_args(self):
RHDisplayEventBase._process_args(self)
self.agreement = Agreement.get_one(request.view_args['id'])
if self.agreement.is_orphan():
raise NotFound('The agreement is not active anymore')
示例2: _process_args
# 需要導入模塊: from indico.modules.events.controllers.base import RHDisplayEventBase [as 別名]
# 或者: from indico.modules.events.controllers.base.RHDisplayEventBase import _process_args [as 別名]
def _process_args(self):
RHDisplayEventBase._process_args(self)
self.contrib = Contribution.get_one(request.view_args['contrib_id'], is_deleted=False)
示例3: _process_args
# 需要導入模塊: from indico.modules.events.controllers.base import RHDisplayEventBase [as 別名]
# 或者: from indico.modules.events.controllers.base.RHDisplayEventBase import _process_args [as 別名]
def _process_args(self):
RHDisplayEventBase._process_args(self)
self.force_overview = request.view_args.get('force_overview', False)
self.theme_id, self.theme_override = get_theme(self.event, request.args.get('view'))
示例4: _process_args
# 需要導入模塊: from indico.modules.events.controllers.base import RHDisplayEventBase [as 別名]
# 或者: from indico.modules.events.controllers.base.RHDisplayEventBase import _process_args [as 別名]
def _process_args(self):
RHDisplayEventBase._process_args(self)
image_id = request.view_args['image_id']
self.image = ImageFile.get_one(image_id)
示例5: _process_args
# 需要導入模塊: from indico.modules.events.controllers.base import RHDisplayEventBase [as 別名]
# 或者: from indico.modules.events.controllers.base.RHDisplayEventBase import _process_args [as 別名]
def _process_args(self):
RHDisplayEventBase._process_args(self)
SpecificFolderMixin._process_args(self)
示例6: _process_args
# 需要導入模塊: from indico.modules.events.controllers.base import RHDisplayEventBase [as 別名]
# 或者: from indico.modules.events.controllers.base.RHDisplayEventBase import _process_args [as 別名]
def _process_args(self):
RHDisplayEventBase._process_args(self)
self.page = EventPage.get_one(request.view_args['page_id'])
示例7: _process_args
# 需要導入模塊: from indico.modules.events.controllers.base import RHDisplayEventBase [as 別名]
# 或者: from indico.modules.events.controllers.base.RHDisplayEventBase import _process_args [as 別名]
def _process_args(self):
RHDisplayEventBase._process_args(self)
self.entry = self.event.timetable_entries.filter_by(id=request.view_args['entry_id']).first_or_404()
示例8: _process_args
# 需要導入模塊: from indico.modules.events.controllers.base import RHDisplayEventBase [as 別名]
# 或者: from indico.modules.events.controllers.base.RHDisplayEventBase import _process_args [as 別名]
def _process_args(self):
RHDisplayEventBase._process_args(self)
self.session = Session.get_one(request.view_args['session_id'], is_deleted=False)