Skip to content

Commit 77d8a69

Browse files
chore: remove unused imports (#1790)
* chore: remove unused imports * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent ca654c4 commit 77d8a69

File tree

16 files changed

+1
-24
lines changed

16 files changed

+1
-24
lines changed

apiclient/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""Retain apiclient as an alias for googleapiclient."""
22

3-
import googleapiclient
43
from googleapiclient import channel, discovery, errors, http, mimeparse, model
54

65
try:

describe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
import uritemplate
3636

37-
from googleapiclient.discovery import DISCOVERY_URI, build, build_from_document
37+
from googleapiclient.discovery import DISCOVERY_URI, build_from_document
3838
from googleapiclient.http import build_http
3939

4040
DISCOVERY_DOC_DIR = (

googleapiclient/discovery_cache/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
from __future__ import absolute_import
1818

19-
import datetime
2019
import logging
2120
import os
2221

@@ -37,8 +36,6 @@ def autodetect():
3736
"""
3837
if "APPENGINE_RUNTIME" in os.environ:
3938
try:
40-
from google.appengine.api import memcache
41-
4239
from . import appengine_memcache
4340

4441
return appengine_memcache.cache

googleapiclient/discovery_cache/file_cache.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
import logging
2828
import os
2929
import tempfile
30-
import threading
3130

3231
try:
3332
from oauth2client.contrib.locked_file import LockedFile

samples/adexchangeseller/get_all_alerts.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222

2323
__author__ = '[email protected] (Sérgio Gomes)'
2424

25-
import argparse
2625
import sys
2726

2827
from googleapiclient import sample_tools

samples/adexchangeseller/get_all_dimensions.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222

2323
__author__ = '[email protected] (Sérgio Gomes)'
2424

25-
import argparse
2625
import sys
2726

2827
from googleapiclient import sample_tools

samples/adexchangeseller/get_all_metrics.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222

2323
__author__ = '[email protected] (Sérgio Gomes)'
2424

25-
import argparse
2625
import sys
2726

2827
from googleapiclient import sample_tools

samples/adexchangeseller/get_all_preferred_deals.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222

2323
__author__ = '[email protected] (Sérgio Gomes)'
2424

25-
import argparse
2625
import sys
2726

2827
from googleapiclient import sample_tools

samples/analytics/hello_analytics_api_v3.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444

4545
__author__ = '[email protected] (Nick Mihailovski)'
4646

47-
import argparse
4847
import sys
4948

5049
from googleapiclient.errors import HttpError

samples/analytics/management_v3_reference.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454

5555
__author__ = '[email protected] (Nick Mihailovski)'
5656

57-
import argparse
5857
import sys
5958

6059
from googleapiclient.errors import HttpError

0 commit comments

Comments
 (0)