Skip to content

Commit df4f10c

Browse files
Remove backward compatibility comment.
1 parent e83abd3 commit df4f10c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

providers/google/src/airflow/providers/google/cloud/hooks/secret_manager.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def create_secret(
138138
retry: Retry | _MethodDefault = DEFAULT,
139139
timeout: float | None = None,
140140
metadata: Sequence[tuple[str, str]] = (),
141-
location: str | None = None, # I have added at end for maintaining backward compatibility.
141+
location: str | None = None,
142142
) -> Secret:
143143
"""
144144
Create a secret.
@@ -187,7 +187,7 @@ def add_secret_version(
187187
retry: Retry | _MethodDefault = DEFAULT,
188188
timeout: float | None = None,
189189
metadata: Sequence[tuple[str, str]] = (),
190-
location: str | None = None, # I have added at end for maintaining backward compatibility.
190+
location: str | None = None,
191191
) -> SecretVersion:
192192
"""
193193
Add a version to the secret.
@@ -229,7 +229,7 @@ def list_secrets(
229229
retry: Retry | _MethodDefault = DEFAULT,
230230
timeout: float | None = None,
231231
metadata: Sequence[tuple[str, str]] = (),
232-
location: str | None = None, # I have added at end for maintaining backward compatibility.
232+
location: str | None = None,
233233
) -> ListSecretsPager:
234234
"""
235235
List secrets.
@@ -296,7 +296,7 @@ def access_secret(
296296
retry: Retry | _MethodDefault = DEFAULT,
297297
timeout: float | None = None,
298298
metadata: Sequence[tuple[str, str]] = (),
299-
location: str | None = None, # I have added at end for maintaining backward compatibility.
299+
location: str | None = None,
300300
) -> AccessSecretVersionResponse:
301301
"""
302302
Access a secret version.
@@ -335,7 +335,7 @@ def delete_secret(
335335
retry: Retry | _MethodDefault = DEFAULT,
336336
timeout: float | None = None,
337337
metadata: Sequence[tuple[str, str]] = (),
338-
location: str | None = None, # I have added at end for maintaining backward compatibility.
338+
location: str | None = None,
339339
) -> None:
340340
"""
341341
Delete a secret.

0 commit comments

Comments
 (0)