def club_join(actor, club, **kwargs): return Event( type=Event.Type.CLUB_JOIN, time=datetime(2017, 02, 15, 12, 34, 56), actor=actor, club=club, ).apply_kwargs(kwargs)
def follower(actor, user, **kwargs): return Event( type=Event.Type.FOLLOWER, time=datetime(2017, 02, 13, 12, 34, 56), actor=actor, user=user, ).apply_kwargs(kwargs)
def flight(actor, flight, **kwargs): return Event( type=Event.Type.FLIGHT, time=datetime(2017, 02, 12, 12, 34, 56), actor=actor, flight=flight, ).apply_kwargs(kwargs)
def flight_comment(flight_comment, **kwargs): return Event.for_flight_comment(flight_comment) \ .apply_kwargs(dict(time=datetime(2017, 2, 11, 12, 34, 56))) \ .apply_kwargs(kwargs)
def club_join(actor, club, **kwargs): return Event.for_club_join(club.id, actor) \ .apply_kwargs(dict(time=datetime(2017, 2, 15, 12, 34, 56))) \ .apply_kwargs(kwargs)
def new_user(actor, **kwargs): return Event.for_new_user(actor) \ .apply_kwargs(dict(time=datetime(2017, 2, 14, 12, 34, 56))) \ .apply_kwargs(kwargs)
def follower(actor, user, **kwargs): return Event.for_follower(user, actor) \ .apply_kwargs(dict(time=datetime(2017, 2, 13, 12, 34, 56))) \ .apply_kwargs(kwargs)
def flight(flight, **kwargs): return ( Event.for_flight(flight) .apply_kwargs(dict(time=datetime(2017, 2, 12, 12, 34, 56))) .apply_kwargs(kwargs) )
def new_user(actor, **kwargs): return Event( type=Event.Type.NEW_USER, time=datetime(2017, 02, 14, 12, 34, 56), actor=actor, ).apply_kwargs(kwargs)