disable py-cache prior to mypy on cli (#408)

This commit is contained in:
bmc-msft
2021-01-04 11:49:28 -05:00
committed by GitHub
parent e222b01003
commit 36b3e2a5aa
4 changed files with 6 additions and 5 deletions

View File

@ -11,7 +11,7 @@ import subprocess # nosec
import uuid
from enum import Enum
from shutil import which
from typing import Callable, Dict, List, Optional, Tuple, Type, TypeVar, cast
from typing import Callable, Dict, List, Optional, Tuple, Type, TypeVar
from uuid import UUID
import pkg_resources
@ -178,7 +178,7 @@ class Files(Endpoint):
""" get a file from a container """
self.logger.debug("getting file from container: %s:%s", container, filename)
client = self._get_client(container)
downloaded = cast(bytes, client.download_blob(filename))
downloaded = client.download_blob(filename)
return downloaded
def upload_file(