This is an automated email from the ASF dual-hosted git repository. xxyu pushed a commit to branch kylin4_on_cloud in repository https://gitbox.apache.org/repos/asf/kylin.git
The following commit(s) were added to refs/heads/kylin4_on_cloud by this push: new 7daabcf # minor fix, remove re.Match which is useless in the python which version is lower 3.7.0 7daabcf is described below commit 7daabcf04d5abc225282e28190658539d4460b2f Author: Mukvin <boyboys...@163.com> AuthorDate: Fri Apr 1 14:20:33 2022 +0800 # minor fix, remove re.Match which is useless in the python which version is lower 3.7.0 --- instances/aws_instance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instances/aws_instance.py b/instances/aws_instance.py index 8be37e8..002cc8e 100644 --- a/instances/aws_instance.py +++ b/instances/aws_instance.py @@ -232,7 +232,7 @@ class AWSInstance: return Utils.full_path_of_yaml(File.SPARK_WORKER_SCALE_YAML.value) @property - def s3_path_match(self) -> re.Match: + def s3_path_match(self): original_path: str = self.config[Params.S3_URI.value] match = re.match(pattern=r'^s3://([^/]+)/(.*?([^/]+)/?)$', string=original_path) if not match: