We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c182858 commit 82ff343Copy full SHA for 82ff343
dataframe_expectations/__init__.py
@@ -1,7 +1,12 @@
1
"""DataFrame Expectations - A validation library for pandas and PySpark DataFrames."""
2
3
-from importlib.metadata import version
+try:
4
+ from importlib.metadata import version
5
-__version__ = version("dataframe-expectations")
6
+ __version__ = version("dataframe-expectations")
7
+except Exception:
8
+ # Package is not installed (e.g., during development or linting)
9
+ # Catch all exceptions to handle various edge cases in different environments
10
+ __version__ = "0.0.0.dev0"
11
12
__all__ = []
0 commit comments