Last active
October 12, 2024 21:28
-
-
Save asears/1b516913a805f3b8bdf2c404602edd31 to your computer and use it in GitHub Desktop.
Type Checking Only Import
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from typing import TYPE_CHECKING | |
if TYPE_CHECKING: | |
from pyspark.sql import DataFrame | |
def to_json_conversion(self: "DataFrame") -> "RDDAdapter": |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment