Integer keys in my kedro config can't be logged using kedro-mflow #224
-
Hi ! Ideally I would want the whole dictionnary to be recorded since it is ONE parameter. But I don't think it would be easy to detect such a case anyway. However what I would like, at least, is for the How can I possibly do that directly into my project ? Is it possible to redefine this function in my project so the modified version is used instead ? Thank you in advance ! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi, glad to see that you are using the plugin! I have a few questions regarding your issue:
pip uninstall kedro-mlflow
pip install git+https://github.com/Galileo-Galilei/kedro-mlflow.git@dict-params-int-keys Do not forget to uninstall kedro-mlflow first, else the fix will not be reinstalled because they have the same version number. |
Beta Was this translation helpful? Give feedback.
-
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
|
Beta Was this translation helpful? Give feedback.
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:but it does not bring much value and I have o…