dts-dance 0.1.8__py3-none-any.whl → 0.1.9__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dts-dance
3
- Version: 0.1.8
3
+ Version: 0.1.9
4
4
  Summary: dts dance lib
5
5
  Keywords: observation,tools
6
6
  Requires-Python: >=3.12
7
- Requires-Dist: loguru==0.7.3
8
- Requires-Dist: pyyaml==6.0.3
9
- Requires-Dist: requests==2.32.5
7
+ Requires-Dist: boto3<2.0.0,>=1.42.27
8
+ Requires-Dist: loguru<0.8.0,>=0.7.3
9
+ Requires-Dist: pyyaml<7.0.0,>=6.0.3
10
+ Requires-Dist: requests<3.0.0,>=2.32.5
10
11
  Description-Content-Type: text/markdown
11
12
 
12
13
  # dts-dance
@@ -5,9 +5,9 @@ dtsdance/dsyncer.py,sha256=1OateZLGekYP_EF9_oAHqsj4sdQm6ahIoRllEgT9Y3I,11142
5
5
  dtsdance/feishu_base.py,sha256=2j4ZM4PFqJ-9EhC6DQ1OmAg--3VBGZyyRuxyjL0j6OU,3733
6
6
  dtsdance/feishu_table.py,sha256=ZUeoKrM4nmm5hFhc3vWOVYeLP390orm-284Od92G4iQ,8424
7
7
  dtsdance/metrics_fe.py,sha256=uPdbjGaaYBOv-rK7lKUx6aVT5Sj6ZkW9m06NyqMrPf0,18990
8
- dtsdance/s3.py,sha256=EMY5uDnqRUuHnZQBkquLdQjLR5I51LuCpCPNsDz0Z0w,1340
8
+ dtsdance/s3.py,sha256=Bh-cwLksfO5PewNtIzE_Md3rRLDLI1DUVoOD7Pou5T8,1294
9
9
  dtsdance/spacex.py,sha256=wgbuwDTLXopJnLn2puX-9MfeVXvi_nQ3C9uN8McoJf4,2113
10
10
  dtsdance/tcc.py,sha256=M_0cOVYyvUgjnC1uKWdz3YgRplafQUqX39gX_YEg8eE,6563
11
- dts_dance-0.1.8.dist-info/METADATA,sha256=VfydsQQEln8dU_jYPfT7WQZDCHgrAyvEFKjg59V1nv0,735
12
- dts_dance-0.1.8.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
13
- dts_dance-0.1.8.dist-info/RECORD,,
11
+ dts_dance-0.1.9.dist-info/METADATA,sha256=IbvejpKLh-EM12cf9XtlwCVkUbD5jjvRc_Pz7PA_5b8,793
12
+ dts_dance-0.1.9.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
13
+ dts_dance-0.1.9.dist-info/RECORD,,
dtsdance/s3.py CHANGED
@@ -1,7 +1,6 @@
1
1
  import os
2
2
  from typing import Optional
3
3
  import boto3
4
- from botocore.exceptions import ClientError
5
4
  from loguru import logger
6
5
 
7
6
 
@@ -35,6 +34,6 @@ class S3Client:
35
34
  file_url = f"{self.base_url}/{s3_file_name}"
36
35
  logger.info(f"文件已成功上传到 S3: {file_url}")
37
36
  return file_url
38
- except ClientError as e:
37
+ except Exception as e:
39
38
  logger.error(f"上传文件到 S3 时出错: {e}")
40
39
  return None