Pass Databricks's Spark session to a user defined module
Hello everyone,I have a .py file (not a notebook) where I have the following class with the following constructor:class DataQualityChecker: def __init__(self, spark_session: SparkSession, df: DataFrame, quality_config_filepath: str) -> None: ...
- 2807 Views
- 0 replies
- 0 kudos