Skip to content
Closed
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
3 changes: 3 additions & 0 deletions python/datafusion/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
from typing import List

import pyarrow as pa
import importlib.metadata

from ._internal import (
AggregateUDF,
Expand All @@ -29,6 +30,8 @@
)


__version__ = importlib.metadata.version("datafusion")

__all__ = [
"DataFrame",
"ExecutionContext",
Expand Down
1 change: 1 addition & 0 deletions python/datafusion/tests/test_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@

def test_import_datafusion():
assert datafusion.__name__ == "datafusion"
assert datafusion.__version__ is not None


def test_class_module_is_datafusion():
Expand Down