This message was deleted.
# hamilton-help
s
This message was deleted.
e
Arghh! I was hoping no one would run into this. Its definitely a weird case of wanting to inject the same thing twice… Has to do with the internals. I can probably scope out a fix pretty easily, but curious as to why you’d want to do this (one of the reasons I haven’t fixed it yet is cause I’m not convinced having the same input twice in a parameterize function is actually worth it…)
a
I am trying to add multiple columns to a dataframe which have same logic of fill but different column names
e
Got it — yeah, definitely think that’s valid. Let me work on a fix — do you have a workaround for now or are you blocked?
a
No, not blocked. I can have a temporary fix for this and continue on rest!
e
Great! Gonna take a quick stab at this shortly anyway — hopefully it’s as easy as i think. Will ping you back when I have a test release for you to try out
👍 1
@Ankush Kundaliya I think this should do the trick: https://github.com/DAGWorks-Inc/hamilton/pull/142
pip install git+<https://github.com/dagworks-inc/hamilton.git@fix-parameterize-repeated-sources>
if you want to try it out
a
@Elijah Ben Izzy It’s working! Thanks 😊
e
Excellent! I’ll push the release today. Thanks for finding the bug!