fix: misplaced function
Browse files
scribe_python_client/client.py
CHANGED
|
@@ -929,19 +929,6 @@ class ScribeClient:
|
|
| 929 |
|
| 930 |
}
|
| 931 |
|
| 932 |
-
def create_lineage_graph(self, lineage_data):
|
| 933 |
-
# Determine allowed asset types from the data.
|
| 934 |
-
# all_types = {record.get("asset_type") for record in lineage_data if record.get("asset_type")}
|
| 935 |
-
# # Exclude unwanted types.
|
| 936 |
-
# exclude_types = {"user", "secret", "org_secret", "commit", "actor", "build_machine"}
|
| 937 |
-
# include_types = all_types - exclude_types
|
| 938 |
-
|
| 939 |
-
# # Define the mapping for layering.
|
| 940 |
-
|
| 941 |
-
# # Generate and display the network visualization.
|
| 942 |
-
# fig = lineage_graph.visualize_network(lineage_data, include_types, self.types_to_position)
|
| 943 |
-
logging.error("create_lineage_graph is not supported in the python package.")
|
| 944 |
-
return None
|
| 945 |
|
| 946 |
include_fields = [
|
| 947 |
"platform_name", "platform_type",
|
|
|
|
| 929 |
|
| 930 |
}
|
| 931 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 932 |
|
| 933 |
include_fields = [
|
| 934 |
"platform_name", "platform_type",
|