You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
AwsBaseHook isn't using connection.host, using connection.extra.host instead #17833
You can make it in the way that it checks if "host" is in extra an uses it from there if it's there (+raise a deprecation warning) and falls-back to connection.host otherwise. This will make it backwards compatible (and we will be able to remove it in the future then).
FYI: I'm currently moving house. Should have a look at this over the weekend. My thought was leave the current functionality working as is with a deprecated warning. Then if the host value in extra isn't present, use the connection defined version. Probably needs to combine host/port number, so I'll add a function to the connection to do that.
FYI: I'm currently moving house. Should have a look at this over the weekend. My thought was leave the current functionality working as is with a deprecated warning. Then if the host value in extra isn't present, use the connection defined version. Probably needs to combine host/port number, so I'll add a function to the connection to do that.
Activity
boring-cyborg commentedon Aug 25, 2021
Thanks for opening your first issue here! Be sure to follow the issue template!
potiuk commentedon Aug 25, 2021
Nice one. @alwaysmpe - I can assign you this one.
You can make it in the way that it checks if "host" is in extra an uses it from there if it's there (+raise a deprecation warning) and falls-back to
connection.hostotherwise. This will make it backwards compatible (and we will be able to remove it in the future then).blcksrx commentedon Aug 27, 2021
In my opinion its better to put a deprecation warning as the first step to not broke user connection.
alwaysmpe commentedon Sep 2, 2021
FYI: I'm currently moving house. Should have a look at this over the weekend. My thought was leave the current functionality working as is with a deprecated warning. Then if the host value in extra isn't present, use the connection defined version. Probably needs to combine host/port number, so I'll add a function to the connection to do that.
ashb commentedon Sep 2, 2021
That sounds about right, yes
prajvan commentedon Oct 9, 2021
hi @ashb i can take this up, if it isnt being worked upon
potiuk commentedon Oct 9, 2021
Depends if @alwaysmpe wants to continue, but generally feel free.
alwaysmpe commentedon Oct 9, 2021
@prajvan feel free! Life's been complicated, this slipped the to-do list a bit.
eshabhide commentedon Feb 28, 2022
Hi, looks like this issue is not getting any traction. I am happy to take a look at it.
eladkal commentedon Feb 28, 2022
@eshabhide assigned to you