Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into typing/mypy_settings
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Richards <[email protected]>

# Conflicts:
#	mypy.ini
#	pandera/api/pyspark/container.py
  • Loading branch information
m-richards committed Feb 23, 2025
2 parents 80bd6b8 + ede8a43 commit 3af0e71
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pandera/api/pyspark/container.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,9 +482,7 @@ def _pydantic_validate(cls, schema: Any) -> DataFrameSchema:
# Schema IO Methods #
#####################

def to_script(
self, fp: Optional[Union[str, Path]] = None
) -> "DataFrameSchema":
def to_script(self, fp: Union[str, Path] = None) -> DataFrameSchema:
"""Create DataFrameSchema from yaml file.
:param path: str, Path to write script
Expand Down

0 comments on commit 3af0e71

Please sign in to comment.