mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-17 20:38:06 +00:00
disable py-cache prior to mypy on cli (#408)
This commit is contained in:
@ -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(
|
||||
|
Reference in New Issue
Block a user