Skip to content

Commit

Permalink
Fix formatting and missing import (#16455)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashb committed Jun 15, 2021
1 parent 8a9c337 commit 608dd0d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion airflow/providers/snowflake/hooks/snowflake.py
Expand Up @@ -15,6 +15,7 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import os
from contextlib import closing
from io import StringIO
from typing import Any, Dict, Optional, Tuple, Union
Expand Down Expand Up @@ -180,7 +181,7 @@ def _get_conn_params(self) -> Dict[str, Optional[str]]:
"authenticator": self.authenticator or authenticator,
"session_parameters": self.session_parameters or session_parameters,
# application is used to track origin of the requests
"application": os.environ.get("AIRFLOW_SNOWFLAKE_PARTNER", "AIRFLOW")
"application": os.environ.get("AIRFLOW_SNOWFLAKE_PARTNER", "AIRFLOW"),
}

# If private_key_file is specified in the extra json, load the contents of the file as a private
Expand Down

0 comments on commit 608dd0d

Please sign in to comment.