Here are the examples of the python api indico.modules.events.requests.models.requests.Request.event_id taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
3
Example 1
Project: indico Source File: __init__.py
@signals.event.deleted.connect
def _event_deleted(event, **kwargs):
event_id = int(event.id)
query = Request.find(Request.event_id == event_id,
Request.state.in_((RequestState.accepted, RequestState.pending)))
for req in query:
req.definition.withdraw(req, notify_event_managers=False)