Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion librarian.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,6 @@ libraries:
version: 0.6.0
apis:
- path: google/cloud/datacatalog/lineage/v1
skip_generate: true
python:
metadata_name_override: lineage
default_version: v1
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-datacatalog-lineage/.flake8
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright 2025 Google LLC
# Copyright 2026 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"client_documentation": "https://cloud.google.com/python/docs/reference/lineage/latest",
"default_version": "v1",
"distribution_name": "google-cloud-datacatalog-lineage",
"issue_tracker": "https://issuetracker.google.com/issues/new?component=1530027",
"language": "python",
"library_type": "GAPIC_AUTO",
"name": "lineage",
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-datacatalog-lineage/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright 2025 Google LLC
# Copyright 2026 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions packages/google-cloud-datacatalog-lineage/docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright 2025 Google LLC
# Copyright 2026 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -83,7 +83,7 @@

# General information about the project.
project = "google-cloud-datacatalog-lineage"
copyright = "2025, Google, LLC"
copyright = "2026, Google, LLC"
author = "Google APIs"

# The version info for the project you're documenting, acts as replacement for
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright 2025 Google LLC
# Copyright 2026 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -31,19 +31,23 @@
DeleteLineageEventRequest,
DeleteProcessRequest,
DeleteRunRequest,
DependencyInfo,
DependencyType,
EntityReference,
EventLink,
GetLineageEventRequest,
GetProcessRequest,
GetRunRequest,
LineageEvent,
LineageLink,
Link,
ListLineageEventsRequest,
ListLineageEventsResponse,
ListProcessesRequest,
ListProcessesResponse,
ListRunsRequest,
ListRunsResponse,
MultipleEntityReference,
OperationMetadata,
Origin,
Process,
Expand All @@ -52,6 +56,8 @@
ProcessOpenLineageRunEventRequest,
ProcessOpenLineageRunEventResponse,
Run,
SearchLineageStreamingRequest,
SearchLineageStreamingResponse,
SearchLinksRequest,
SearchLinksResponse,
UpdateProcessRequest,
Expand All @@ -69,19 +75,22 @@
"DeleteLineageEventRequest",
"DeleteProcessRequest",
"DeleteRunRequest",
"DependencyInfo",
"EntityReference",
"EventLink",
"GetLineageEventRequest",
"GetProcessRequest",
"GetRunRequest",
"LineageEvent",
"LineageLink",
"Link",
"ListLineageEventsRequest",
"ListLineageEventsResponse",
"ListProcessesRequest",
"ListProcessesResponse",
"ListRunsRequest",
"ListRunsResponse",
"MultipleEntityReference",
"OperationMetadata",
"Origin",
"Process",
Expand All @@ -90,8 +99,11 @@
"ProcessOpenLineageRunEventRequest",
"ProcessOpenLineageRunEventResponse",
"Run",
"SearchLineageStreamingRequest",
"SearchLineageStreamingResponse",
"SearchLinksRequest",
"SearchLinksResponse",
"UpdateProcessRequest",
"UpdateRunRequest",
"DependencyType",
)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright 2025 Google LLC
# Copyright 2026 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright 2025 Google LLC
# Copyright 2026 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -21,13 +21,7 @@

__version__ = package_version.__version__

if sys.version_info >= (3, 8): # pragma: NO COVER
from importlib import metadata
else: # pragma: NO COVER
# TODO(https://github.com/googleapis/python-api-core/issues/835): Remove
# this code path once we drop support for Python 3.7
import importlib_metadata as metadata

from importlib import metadata

from .services.lineage import LineageAsyncClient, LineageClient
from .types.lineage import (
Expand All @@ -39,19 +33,23 @@
DeleteLineageEventRequest,
DeleteProcessRequest,
DeleteRunRequest,
DependencyInfo,
DependencyType,
EntityReference,
EventLink,
GetLineageEventRequest,
GetProcessRequest,
GetRunRequest,
LineageEvent,
LineageLink,
Link,
ListLineageEventsRequest,
ListLineageEventsResponse,
ListProcessesRequest,
ListProcessesResponse,
ListRunsRequest,
ListRunsResponse,
MultipleEntityReference,
OperationMetadata,
Origin,
Process,
Expand All @@ -60,6 +58,8 @@
ProcessOpenLineageRunEventRequest,
ProcessOpenLineageRunEventResponse,
Run,
SearchLineageStreamingRequest,
SearchLineageStreamingResponse,
SearchLinksRequest,
SearchLinksResponse,
UpdateProcessRequest,
Expand All @@ -75,28 +75,17 @@
# An older version of api_core is installed which does not define the
# functions above. We do equivalent checks manually.
try:
import sys
import warnings

_py_version_str = sys.version.split()[0]
_package_label = "google.cloud.datacatalog_lineage_v1"
if sys.version_info < (3, 9):
if sys.version_info < (3, 10):
warnings.warn(
"You are using a non-supported Python version "
+ f"({_py_version_str}). Google will not post any further "
+ f"updates to {_package_label} supporting this Python version. "
+ "Please upgrade to the latest Python version, or at "
+ f"least to Python 3.9, and then update {_package_label}.",
FutureWarning,
)
if sys.version_info[:2] == (3, 9):
warnings.warn(
f"You are using a Python version ({_py_version_str}) "
+ f"which Google will stop supporting in {_package_label} in "
+ "January 2026. Please "
+ "upgrade to the latest Python version, or at "
+ "least to Python 3.10, before then, and "
+ f"then update {_package_label}.",
+ f"least to Python 3.10, and then update {_package_label}.",
FutureWarning,
)

Expand Down Expand Up @@ -170,20 +159,24 @@ def _get_version(dependency_name):
"DeleteLineageEventRequest",
"DeleteProcessRequest",
"DeleteRunRequest",
"DependencyInfo",
"DependencyType",
"EntityReference",
"EventLink",
"GetLineageEventRequest",
"GetProcessRequest",
"GetRunRequest",
"LineageClient",
"LineageEvent",
"LineageLink",
"Link",
"ListLineageEventsRequest",
"ListLineageEventsResponse",
"ListProcessesRequest",
"ListProcessesResponse",
"ListRunsRequest",
"ListRunsResponse",
"MultipleEntityReference",
"OperationMetadata",
"Origin",
"Process",
Expand All @@ -192,6 +185,8 @@ def _get_version(dependency_name):
"ProcessOpenLineageRunEventRequest",
"ProcessOpenLineageRunEventResponse",
"Run",
"SearchLineageStreamingRequest",
"SearchLineageStreamingResponse",
"SearchLinksRequest",
"SearchLinksResponse",
"UpdateProcessRequest",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@
"process_open_lineage_run_event"
]
},
"SearchLineageStreaming": {
"methods": [
"search_lineage_streaming"
]
},
"SearchLinks": {
"methods": [
"search_links"
Expand Down Expand Up @@ -170,6 +175,11 @@
"process_open_lineage_run_event"
]
},
"SearchLineageStreaming": {
"methods": [
"search_lineage_streaming"
]
},
"SearchLinks": {
"methods": [
"search_links"
Expand Down Expand Up @@ -260,6 +270,11 @@
"process_open_lineage_run_event"
]
},
"SearchLineageStreaming": {
"methods": [
"search_lineage_streaming"
]
},
"SearchLinks": {
"methods": [
"search_links"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright 2025 Google LLC
# Copyright 2026 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright 2025 Google LLC
# Copyright 2026 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright 2025 Google LLC
# Copyright 2026 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
Loading
Loading