Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,11 @@ def __init__(
) -> None:
"""Initializes YouTubeDataApiClient."""
if not api_key and os.getenv('GOOGLE_API_KEY'):
warnings.DeprecatingWarning(
warnings.warn(
'You are using deprecated GOOGLE_API_KEY variable to create '
'YouTubeDataApiClient. Use GARF_YOUTUBE_DATA_API_KEY variable instead'
'YouTubeDataApiClient. Use GARF_YOUTUBE_DATA_API_KEY variable instead',
FutureWarning,
stacklevel=2,
)
api_key = os.getenv('GOOGLE_API_KEY')
if not api_key:
Expand Down
Loading