prabhaharanv
prabhaharanv
## Description `test/unit/test_kubernetes.py` defines two module-level test functions with the **same name**, `test_kubernetes_parse_keyvalue_list` (currently lines 83 and 95). The second definition (the failure cases) shadows the first (the success cases)...
## Description `ServiceMetadataProvider.filter_tasks_by_metadata` (`metaflow/plugins/metadata_providers/service.py`) catches bare `Exception` and then reads `e.http_code`: ```python try: resp, _ = cls._request(None, url, "GET") except Exception as e: if e.http_code == 404: ... raise e...
## Description `KubernetesException` is defined as **two separate classes**: - `metaflow/plugins/kubernetes/kubernetes.py` — `class KubernetesException(MetaflowException)` - `metaflow/plugins/kubernetes/kube_utils.py` — `class KubernetesException(MetaflowException)` (with a comment: *"avoid circular import by having the exception class...
## Problem `ServiceMetadataProvider._get_object_internal` (`metaflow/plugins/metadata_providers/service.py`) fetches child collections with a bare, unbounded `GET` and then filters client-side: ```python url += "/%ss" % sub_type # e.g. /tasks, /artifacts v, _ = cls._request(None,...