...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
import os import yaml import boto3 def get_connection(): with open(os.path.expanduser("~/.s3fs_boto")) as fid: credentials = yaml.safe_load(fid) return boto3.client(**credentials) |
...
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
import os import yaml import boto3 def get_connection(): with open(os.path.expanduser("~/.s3fs_boto")) as fid: credentials = yaml.safe_load(fid) return boto3.client(**credentials) |
...