harbor run -t openthoughts/tasktrove-mix-h4-binary-easy-mix-h4-binary-easy-0241harbor download openthoughts/tasktrove-mix-h4-binary-easy-mix-h4-binary-easy-0241Task: Implement the ltdconveyor functionality used by the provided pytest tests
Objective Create a Python package (or module) named ltdconveyor that provides S3-related utilities required by the tests. The implementation must live in /app/ltdconveyor.py (or as a package at /app/ltdconveyor/ with submodules). The tests will import ltdconveyor.s3 and ltdconveyor.testutils, so your package must expose these submodules with the required functions.
What to implement
Function signature: def copy_dir( bucket_name: str, src_path: str, dest_path: str, aws_access_key_id: str | None = None, aws_secret_access_key: str | None = None, surrogate_key: str | None = None, surrogate_control: str | None = None, cache_control: str | None = None, ) -> None
Behavior and requirements:
Function signature: def delete_dir( bucket_name: str, prefix: str, aws_access_key_id: str | None = None, aws_secret_access_key: str | None = None, ) -> None
Behavior and requirements:
Function signature: def upload_test_files( file_paths, bucket, dest_prefix: str, surrogate_key: str, cache_control: str, content_type: str, ) -> None
Behavior and requirements:
Important note about location