Skip to content

Commit 9e4c096

Browse files
committed
k8s: fixup imports
1 parent 1fa3073 commit 9e4c096

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/warnet/k8s.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import json
22
import os
3-
import sys
43
import tempfile
54
from pathlib import Path
65
from time import sleep
6+
from typing import Optional
77

88
import yaml
99
from kubernetes import client, config, watch
@@ -12,9 +12,8 @@
1212
from kubernetes.client.rest import ApiException
1313
from kubernetes.dynamic import DynamicClient
1414
from kubernetes.stream import stream
15+
from kubernetes.utils import create_from_yaml
1516

16-
from .constants import DEFAULT_NAMESPACE, KUBECONFIG
17-
from .process import run_command, stream_command
1817
from .constants import KUBECONFIG
1918

2019

0 commit comments

Comments
 (0)