diff --git a/metaflow/plugins/cards/card_modules/card.py b/metaflow/plugins/cards/card_modules/card.py index f0d8d7d5706..35a639299dd 100644 --- a/metaflow/plugins/cards/card_modules/card.py +++ b/metaflow/plugins/cards/card_modules/card.py @@ -49,7 +49,7 @@ def _get_mustache(self): except ImportError: return None - def render(self, task: "Task") -> str: + def render(self, task) -> str: """ Produce custom card contents in HTML. diff --git a/metaflow/plugins/kubernetes/kubernetes_decorator.py b/metaflow/plugins/kubernetes/kubernetes_decorator.py index 75b3223ee4b..4dcd7fd640a 100644 --- a/metaflow/plugins/kubernetes/kubernetes_decorator.py +++ b/metaflow/plugins/kubernetes/kubernetes_decorator.py @@ -78,7 +78,7 @@ class KubernetesDecorator(StepDecorator): Path to tmpfs mount for this step. Defaults to /metaflow_temp. persistent_volume_claims: Dict[str, str], optional A map (dictionary) of persistent volumes to be mounted to the pod for this step. The map is from persistent - volumes to the path to which the volume is to be mounted, e.g., { "pvc-name": "/path/to/mount/on" }. + volumes to the path to which the volume is to be mounted, e.g., `{'pvc-name': '/path/to/mount/on'}`. """ name = "kubernetes"