Skip to content

Commit

Permalink
Remove classic KubeCluster and HelmCluster
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtomlinson committed Apr 30, 2024
1 parent ef41984 commit 62745d8
Show file tree
Hide file tree
Showing 32 changed files with 36 additions and 4,737 deletions.
57 changes: 0 additions & 57 deletions .github/workflows/helmcluster.yaml

This file was deleted.

57 changes: 0 additions & 57 deletions .github/workflows/kubecluster.yaml

This file was deleted.

24 changes: 1 addition & 23 deletions dask_kubernetes/__init__.py
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}")
2 changes: 0 additions & 2 deletions dask_kubernetes/classic/__init__.py

This file was deleted.

Loading

0 comments on commit 62745d8

Please sign in to comment.