File tree Expand file tree Collapse file tree
packages/google-cloud-storage Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313# limitations under the License.
1414
1515try :
16- import pkg_resources
16+ import pkg_resources # type: ignore
1717
1818 pkg_resources .declare_namespace (__name__ )
1919except ImportError :
Original file line number Diff line number Diff line change 1313# limitations under the License.
1414
1515try :
16- import pkg_resources
16+ import pkg_resources # type: ignore
1717
1818 pkg_resources .declare_namespace (__name__ )
1919except ImportError :
Original file line number Diff line number Diff line change 2222import os
2323from urllib .parse import urlsplit
2424
25- from google import resumable_media
25+ from google import resumable_media # type: ignore
2626from google .auth import environment_vars
2727from google .cloud .storage .constants import _DEFAULT_TIMEOUT
2828from google .cloud .storage .retry import DEFAULT_RETRY
Original file line number Diff line number Diff line change 1616
1717import functools
1818import os
19- import pkg_resources
19+ import pkg_resources # type: ignore
2020
21- from google .cloud import _http
21+ from google .cloud import _http # type: ignore
2222
2323from google .cloud .storage import __version__
2424
Original file line number Diff line number Diff line change @@ -412,7 +412,7 @@ def get_entities(self):
412412 self ._ensure_loaded ()
413413 return list (self .entities .values ())
414414
415- @property
415+ @property # type: ignore
416416 def client (self ):
417417 """Abstract getter for the object client."""
418418 raise NotImplementedError
Original file line number Diff line number Diff line change 2323import io
2424import json
2525
26- import requests
26+ import requests # type: ignore
2727
2828from google .cloud import _helpers
2929from google .cloud import exceptions
Original file line number Diff line number Diff line change 4242from urllib .parse import urlunsplit
4343import warnings
4444
45- from google import resumable_media
45+ from google import resumable_media # type: ignore
4646from google .resumable_media .requests import ChunkedDownload
4747from google .resumable_media .requests import Download
4848from google .resumable_media .requests import RawDownload
Original file line number Diff line number Diff line change 2525
2626from google .auth .credentials import AnonymousCredentials
2727
28- from google import resumable_media
28+ from google import resumable_media # type: ignore
2929
3030from google .api_core import page_iterator
3131from google .cloud ._helpers import _LocalStack , _NOW
Original file line number Diff line number Diff line change 1+ # Marker file for PEP 561.
2+ # The google-cloud-storage package uses inline types.
Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- import requests
16- import requests .exceptions as requests_exceptions
15+ import requests # type: ignore
16+ import requests .exceptions as requests_exceptions # type: ignore
1717
1818from google .api_core import exceptions as api_exceptions
1919from google .api_core import retry
You can’t perform that action at this time.
0 commit comments