Skip to content

Commit

Permalink
👕 Improved linting for backwards compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Luanee committed Nov 10, 2023
1 parent 1bf0950 commit 1b92013
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandera_report/validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def validate(
schema: Union[Type[pa.DataFrameModel], pa.DataFrameSchema],
df: pd.DataFrame,
validity_flag: bool = False,
) -> tuple[bool, pd.DataFrame] | pd.DataFrame:
) -> Union[tuple[bool, pd.DataFrame], pd.DataFrame]:
"""
Validate a DataFrame using a Pandera schema and generate a quality report.
Expand Down

0 comments on commit 1b92013

Please sign in to comment.