Skip to content

Commit

Permalink
NO-SNOW: Fix docs for lineage.trace (#2547)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jrose authored Nov 1, 2024
1 parent 881159b commit 2b3eeb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/snowflake/snowpark/lineage.py
Original file line number Diff line number Diff line change
Expand Up @@ -589,13 +589,13 @@ def trace(
object_domain (str): The domain of the Snowflake object to start trace. e.g., "table", "view".
object_version (Optional[str]):Version of the versioned Snowflake object (e.g., model or dataset) to begin tracing. Defaults to None.
direction (LineageDirection): The direction to trace (UPSTREAM, DOWNSTREAM, BOTH), defaults to BOTH.
distance (int): Trace distance, defaults to 2, with a maximum of 10.
distance (int): Trace distance, defaults to 2, with a maximum of 5.
Returns:
snowflake.snowpark.DataFrame: A DataFrame representing the traced lineage with the following schema:
- source (str): The source of the lineage.
- target (str): The target of the lineage.
- direction (str): The direction of the lineage ('FORWARD', 'BACKWARD', or 'BOTH').
- direction (str): The direction of the lineage ('upstream', 'downstream', or 'both').
- distance (int): The distance of the lineage tracing from given object.
Example:
Expand Down

0 comments on commit 2b3eeb2

Please sign in to comment.