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

Reexport polars function to match pyright expectation #1797

Merged
merged 1 commit into from
Aug 31, 2024
Merged
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
18 changes: 17 additions & 1 deletion pandera/polars.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""A flexible and expressive polars validation library for Python."""

# pylint: disable=unused-import
from pandera import errors
from pandera.api.checks import Check
from pandera.api.dataframe.model_components import (
Expand All @@ -16,3 +15,20 @@
from pandera.decorators import check_input, check_io, check_output, check_types

register_polars_backends()


__all__ = [

Check warning on line 20 in pandera/polars.py

View check run for this annotation

Codecov / codecov/patch

pandera/polars.py#L20

Added line #L20 was not covered by tests
"check_input",
"check_io",
"check_output",
"check_types",
"check",
"Check",
"Column",
"dataframe_check",
"DataFrameModel",
"DataFrameSchema",
"errors",
"Field",
"PolarsData",
]