Skip to content

Integer keys in my kedro config can't be logged using kedro-mflow #224

Answered by Galileo-Galilei
Jarathael asked this question in Q&A
Discussion options

You must be logged in to vote

Thank you for the details. I had understood the general idea but reading the code is always more precise.

I'll merge the branch on master within 2 weeks maximum (once I have added a test for this use case) and release it on Pypi soon after that.

Regarding your ideal logging format, I understand why this would be more readable for you, but it is very hard to find how to do it in a general way, since in most situations you want to flatten the entire dict. I could eventually modify the flatten_dict function to either:

  • add the possibility to flatten only until a given depth
  • or avoid flattening the last "dict" in a nested structure (your use case)
    but it does not bring much value and I have o…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Jarathael
Comment options

Comment options

You must be logged in to vote
1 reply
@Jarathael
Comment options

Answer selected by Jarathael
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants