mirror of
https://github.com/apache/superset.git
synced 2026-04-20 00:24:38 +00:00
chore: deprecate tox in favor of act (#29382)
This commit is contained in:
committed by
GitHub
parent
68499a1199
commit
fd9d3301f6
@@ -66,9 +66,8 @@ def upload_to_s3(filename: str, upload_prefix: str, table: Table) -> str:
|
||||
:returns: The S3 location of the table
|
||||
"""
|
||||
|
||||
# pylint: disable=import-outside-toplevel
|
||||
import boto3
|
||||
from boto3.s3.transfer import TransferConfig
|
||||
import boto3 # pylint: disable=all
|
||||
from boto3.s3.transfer import TransferConfig # pylint: disable=all
|
||||
|
||||
bucket_path = current_app.config["CSV_TO_HIVE_UPLOAD_S3_BUCKET"]
|
||||
|
||||
@@ -474,7 +473,7 @@ class HiveEngineSpec(PrestoEngineSpec):
|
||||
return None
|
||||
|
||||
@classmethod
|
||||
def _partition_query( # pylint: disable=too-many-arguments
|
||||
def _partition_query( # pylint: disable=all
|
||||
cls,
|
||||
table: Table,
|
||||
indexes: list[dict[str, Any]],
|
||||
@@ -489,7 +488,7 @@ class HiveEngineSpec(PrestoEngineSpec):
|
||||
return f"SHOW PARTITIONS {full_table_name}"
|
||||
|
||||
@classmethod
|
||||
def select_star( # pylint: disable=too-many-arguments
|
||||
def select_star( # pylint: disable=all
|
||||
cls,
|
||||
database: Database,
|
||||
table: Table,
|
||||
|
||||
Reference in New Issue
Block a user