original_docstring: 
          method to check for required relationship with event
          :param args:
          :param kwargs:
          :param data:
          :return:
          
docstring: method to check for required relationship with event
docstring_tokens: method to check for required relationship with event
code: def before_post(self, args, kwargs, data):
          """
          method to check for required relationship with event
          :param args:
          :param kwargs:
          :param data:
          :return:
          """
          require_relationship(['event'], data)
          if not has_access('is_coorganizer', event_id=data['event']):
              raise ObjectNotFound({'parameter': 'event_id'},
                                   "Event: {} not found".format(data['event']))
code_tokens: def before_post ( self , args , kwargs , data ) : require_relationship ( [ 'event' ] , data ) if not has_access ( 'is_coorganizer' , event_id = data [ 'event' ] ) : raise ObjectNotFound ( { 'parameter' : 'event_id' } , "Event: {} not found" . format ( data [ 'event' ] ) )
short_docstring: method to check for required relationship with event
short_docstring_tokens: method to check for required relationship with event
comment: """
          method to check for required relationship with event
          :param args:
          :param kwargs:
          :param data:
          :return:
          """