Module API.s3
Variables
Functions
check_object_existence
def check_object_existence(
bucket_name,
file_path
)
Async function to check object existence
get_s3_file
def get_s3_file(
request: starlette.requests.Request,
file_path: str = Path(PydanticUndefined),
expiry: int = Query(3600),
read_meta: bool = Query(True)
)
head_s3_file
def head_s3_file(
request: starlette.requests.Request,
file_path: str = Path(PydanticUndefined)
)
list_s3_files
def list_s3_files(
request: starlette.requests.Request,
folder: str = Query(/HDX),
prettify: bool = Query(False)
)
def read_meta_json(
bucket_name,
file_path
)
Async function to read from meta json