airflow-commits mailing list archives

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

    [ https://issues.apache.org/jira/browse/AIRFLOW-2151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16380455#comment-16380455
] 

ASF subversion and git services commented on AIRFLOW-2151:
----------------------------------------------------------

Commit 68679ae5263b8c01ea348624ae1c74a8e57a6c8d in incubator-airflow's branch refs/heads/master
from inytar
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;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: https://issues.apache.org/jira/browse/AIRFLOW-2151
>             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
(v7.6.3#76005)

Mime
View raw message