Any chance of getting <https://github.com/flyteorg...
# flytekit
n
Any chance of getting https://github.com/flyteorg/flytekit/pull/2299 merged? We dont see any maintainers being supportive and the only review so far was done by @cool-lifeguard-49380 who I think would generally be in favor of getting this done eventually (thanks, btw). Before further working on the comments I would love to get some signal on the chances of getting this eventually merged.
c
I’ve been in discussions with @prehistoric-kangaroo-27449 about splitting some of the elaborate logic in the
to_literal
and
to_python_value
methods into smaller reusable functions to make it easier to understand what is happening.
That’s the only remaining concern I have.
n
Yes, I am just wondering if resolving this would actually lead to the PR getting merged
c
@high-accountant-32689 you have reviewed the PR before, the logic you had concerns about back then (overwriting the enum type transformer and having custom logic to detect the right type transformers) has been removed. Could you please take another brief look to check whether there are other blockers from your side apart from this? πŸ™‡
h
I'll prioritize reviewing this today.
πŸ™ 2
c
Sorry to bother you @high-accountant-32689, I’m sure you have a lot todo atm πŸ™ˆ @prehistoric-kangaroo-27449 would have some time to work on this this week and is looking for feedback whether there are any other blockers apart from what I remarked regarding breaking the logic in
to_literal
and
to_python_value
into smaller and easier to understand chunks.
h
Great. My feedback is around that too. Let me actually leave comments in the PR.
πŸ™ 1
c
Thank you πŸ™‡
p
Thank you both! I'll have a look tomorrow and address the requested changes, hopefully we are then on the same page and can merge the plugin soon πŸ™‚
h
Thanks, @prehistoric-kangaroo-27449, I left a few comments on the PR. This is looking good, let's get on the same page on some of the open questions and get this change merged.
πŸ™ 2
p
Alright, I've addressed the issues raised, namely: β€’ refactor transformer mode to be set globally more elegantly, while also providing a local option via context manager β€’ modularize the dict transformer class into smaller chunks, which are individually unit tested β€’ smaller styling changes
πŸ‘ 1
h
@prehistoric-kangaroo-27449, thank you for your change, I have only one comment and then we can merge this, ok?
πŸ‘ 1
p
Done
h
quick update: an unrelated issue to your PR is impacting the CI checks. I'll ping here when that is solved and tests run.