-
-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove classic KubeCluster and HelmCluster
- Loading branch information
1 parent
ef41984
commit 62745d8
Showing
32 changed files
with
36 additions
and
4,737 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,10 @@ | ||
from importlib import import_module | ||
from warnings import warn | ||
|
||
from . import config | ||
|
||
from .common.auth import ( | ||
AutoRefreshConfiguration, | ||
AutoRefreshKubeConfigLoader, | ||
ClusterAuth, | ||
InCluster, | ||
KubeAuth, | ||
KubeConfig, | ||
) | ||
from .common.objects import clean_pod_template, make_pod_from_dict, make_pod_spec | ||
from .helm import HelmCluster | ||
|
||
__all__ = ["HelmCluster", "KubeCluster"] | ||
__all__ = [] | ||
|
||
try: | ||
from ._version import version as __version__ # noqa | ||
from ._version import version_tuple as __version_tuple__ # noqa | ||
except ImportError: | ||
__version__ = "0.0.0" | ||
__version_tuple__ = (0, 0, 0) | ||
|
||
|
||
def __getattr__(name): | ||
if name == "KubeCluster": | ||
new_module = import_module("dask_kubernetes.classic") | ||
return getattr(new_module, name) | ||
|
||
raise AttributeError(f"module {__name__} has no attribute {name}") |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.