Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove additional unused definitions #485

Merged
merged 6 commits into from
Jan 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 2 additions & 26 deletions kolena/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,39 +11,15 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# flake8: noqa
# autopep8: off
# noreorder
# mypy: ignore-errors
#
# (robots do not like this file)
from importlib.metadata import version

__name__ = "kolena"
__version__: str


def __version_assign() -> None:
global __version__
try:
from importlib.metadata import version

__version__ = version(__name__)
except ModuleNotFoundError:
import importlib_metadata # importlib.metadata was introduced to the standard library in 3.8

__version__ = importlib_metadata.version(__name__)


__version_assign()
del __version_assign

__version__ = version(__name__)

import kolena.errors
from .initialize import initialize

__all__ = [
"initialize",
"errors",
"workflow",
]
39 changes: 0 additions & 39 deletions kolena/_utils/asset_path_mapper.py

This file was deleted.

27 changes: 0 additions & 27 deletions kolena/_utils/serializable.py

This file was deleted.

61 changes: 0 additions & 61 deletions kolena/_utils/uninstantiable.py

This file was deleted.