Update 'face_recognition/app/app.py'
This commit is contained in:
parent
f5e17491cf
commit
c50301491d
@ -11,7 +11,8 @@ def hello_docker():
|
|||||||
def access_minio():
|
def access_minio():
|
||||||
minioClient = Minio('minio:9000', access_key=os.environ['s3-name'], secret_key=os.environ['s3-password'], secure=False)
|
minioClient = Minio('minio:9000', access_key=os.environ['s3-name'], secret_key=os.environ['s3-password'], secure=False)
|
||||||
|
|
||||||
print(minioClient.list_buckets(), flush=True)
|
for bucket in minioClient.list_buckets():
|
||||||
|
print(bucket.name, bucket.creation_date, flush=True)
|
||||||
return('Connection Succesfull')
|
return('Connection Succesfull')
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
Loading…
Reference in New Issue
Block a user