def issue_comment_params(sort, direction, since):
    params = {}

    if sort in ('created', 'updated'):
        params['sort'] = sort

    if ('asc', 'desc') in direction:
        params['direction'] = direction

    since = timestamp_parameter(since)
    if since:
        params['since'] = since

    return params
dataset/ETHPy150Open sigmavirus24/github3.py/github3/issues/comment.py/issue_comment_params/swapped operands of `in`