mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix remaining mypy errors from full lib+test type check
- annotate the headers dict in DatasetsService.display - declare container_name on the tee-stream integration test class
This commit is contained in:
@@ -690,7 +690,7 @@ class DatasetsService(ServiceBase, UsesVisualizationMixin):
|
||||
some point in the future without warning. Generally, data should be processed by its
|
||||
datatype prior to display (the default if raw is unspecified or explicitly false.
|
||||
"""
|
||||
headers = {}
|
||||
headers: dict[str, str] = {}
|
||||
rval: Any = ""
|
||||
try:
|
||||
dataset_manager = self.dataset_manager_by_type[hda_ldda]
|
||||
|
||||
@@ -37,6 +37,7 @@ BOTO3_DIRECT_DOWNLOAD_CONFIG = string.Template("""
|
||||
|
||||
@integration_util.skip_unless_docker()
|
||||
class TestDirectDownloadRedirectIntegration(BaseObjectStoreIntegrationTestCase):
|
||||
container_name: str
|
||||
object_store_cache_path: str
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user