-
-
Notifications
You must be signed in to change notification settings - Fork 148
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 (#890)
* Remove classic KubeCluster and HelmCluster * Be less specific in testing config * Remove deprecation warning test * Shift docs focus a little * Refactor docs a little more * Reinstate code example * doc -> docs
- Loading branch information
1 parent
ef41984
commit 30c22a5
Showing
52 changed files
with
232 additions
and
4,943 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
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 |
---|---|---|
|
@@ -73,7 +73,7 @@ instance/ | |
.scrapy | ||
|
||
# Sphinx documentation | ||
doc/_build/ | ||
docs/_build/ | ||
|
||
# PyBuilder | ||
target/ | ||
|
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
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.