def __init__(self, rename = None, drop = None, keep=None):
        if drop and keep:
            raise Exception('Configuration error in FieldMap: you cant specify both keep and drop options.')
        super(FieldMap, self).__init__()

        if rename:
            self.rename = rename
        else:
            self.rename = {}

        self.drop = drop or []
        self.keep = keep or []
Ensure GETing form over OAuth with correct client credentials in query succeed when DEBUG is True
dataset/ETHPy150Open Stiivi/brewery/brewery/metadata.py/FieldMap.__init__--crossover with--dataset/ETHPy150Open jlafon/django-rest-framework-oauth/tests/test_oauth.py/OAuth2Tests.test_get_form_passing_auth_url_transport