brief-kite-90012
09/23/2023, 5:19 AMArgoClient to make metaflow call Rest API requests instead of k8s API when talking with argo, wondering what's the preferred way of doing it while using the metaflow_extension library. And how to deal with future updates in that case?victorious-lawyer-58417
09/23/2023, 5:45 AMvictorious-lawyer-58417
09/23/2023, 5:46 AMdry-beach-38304
09/23/2023, 8:03 PMbrief-kite-90012
09/25/2023, 2:45 AMArgoClient in argo_client.py , do i need to have everything under plugins/argo in my metaflow_extension lib? right now i need to have my own version of all the files here in metaflow_extension for it to work, is it possible to only override one file while keeping other files as per what original metaflow provides?dry-beach-38304
09/25/2023, 4:05 PMargo_client.py file in plugins/argo
• set __mf_promote_submodules__ = ["argo.argo_client"] in the mfextinit_myextension.py located in plugins/
It may work. It’s going to depend on the order of loads but there is a chance it works. What this does is point metaflow.plugins.argo.argo_client to <http://metaflow_extensions.my|metaflow_extensions.my>_extension.plugins.argo.argo_client.
I saw there was only one import from argo_client in the code and it is through from .argo_client import ArgoClient so it’s possible this works. If it doesn’t, let me know and I can take a closer look. I haven’t tried overloading a single file like that quite yet but in principle it should work.stale-eve-11739
08/22/2024, 12:44 AMbrief-kite-90012
08/22/2024, 1:45 AMmetaflow.plugins.argo.argo_client.py with rest api request calls instead of k8s api for each of the methods, I'm using it with metaflow==2.12.6 , you might need to tweak argo_workflows.py as well but I am not sure.stale-eve-11739
08/22/2024, 2:05 AM