def trac_values_to_youtrack_values(field_name, value_names):
    if value_names is None:
        return None
    field_values = []
    for name in value_names:
        if field_name in tracLib.FIELD_VALUES:
            if name in tracLib.FIELD_VALUES[field_name].keys():
                name = tracLib.FIELD_VALUES[field_name][name]
        if name not in field_values:
            field_values.append(name)
    return field_values
Returns an auth session.
dataset/ETHPy150Open JetBrains/youtrack-rest-python-library/python/trac2youtrack.py/trac_values_to_youtrack_values--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/webapp2-2.3/webapp2_extras/auth.py/AuthStore.get_session