airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (AIRFLOW-2151) Allow getting AWS Session from AwsHook
Date Wed, 28 Feb 2018 15:18:00 GMT


ASF subversion and git services commented on AIRFLOW-2151:

Commit 68679ae5263b8c01ea348624ae1c74a8e57a6c8d in incubator-airflow's branch refs/heads/master
from inytar
[;h=68679ae ]

[AIRFLOW-2151] Allow getting the session from AwsHook

Add new tests for get_credentials and get_session
methods of AwsHook Implement get_credentials and
get_session methods in AwsHook

Closes #3079 from inytar/aws-session

> Allow getting AWS Session from AwsHook
> --------------------------------------
>                 Key: AIRFLOW-2151
>                 URL:
>             Project: Apache Airflow
>          Issue Type: New Feature
>          Components: aws, contrib
>            Reporter: Pieter Mulder
>            Assignee: Pieter Mulder
>            Priority: Major
> I would like to be able to get the `session` object that `AwsHook` creates.
> In my case I want to use it's credentials (I now use `_get_credentials()` in my code,
but don't like using the private function) to do a `COPY` with Redshift.
> I think the AWS Session could also be useful for people that want to use a client or
resource with other arguments then the default.

This message was sent by Atlassian JIRA

View raw message