def api_github_v1(user_profile, event, payload, branches, stream, **kwargs):
 commit_stream = stream
 issue_stream = 'issues'
 return api_github_v2(user_profile, event, payload, branches, stream, commit_stream, issue_stream, **kwargs)

def api_github_v1 ( user_profile , event , payload , branches , stream , ** kwargs ) : commit_stream = stream issue_stream = 'issues' return api_github_v2 ( user_profile , event , payload , branches , stream , commit_stream , issue_stream , ** kwargs )
processes github payload with version 1 field specification payload comes in unmodified from github stream is set to commits if otherwise unset .