attribute 模型名称错误

This commit is contained in:
zhouchengrong
2024-03-27 13:17:41 +08:00
parent 5f5617d5a3
commit d4be7b8053
14 changed files with 897 additions and 13 deletions

View File

@@ -0,0 +1,12 @@
from minio import Minio
from app.core.config import MINIO_PORT, MINIO_IP, MINIO_ACCESS, MINIO_SECRET, MINIO_SECURE
minio_client = Minio(
f"{MINIO_IP}:{MINIO_PORT}",
access_key=MINIO_ACCESS,
secret_key=MINIO_SECRET,
secure=MINIO_SECURE)
for i in minio_client.list_objects('test'):
print(i.object_name)