本文整理汇总了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)