Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

需要设计一下,每个 s3 的方法支持单独指定 endpoint #155

Closed
LoveEatCandy opened this issue Aug 26, 2022 · 4 comments
Closed
Labels
enhancement New feature or request

Comments

@LoveEatCandy
Copy link
Collaborator

No description provided.

@LoveEatCandy LoveEatCandy added the enhancement New feature or request label Aug 26, 2022
@LoveEatCandy
Copy link
Collaborator Author

用户会有从 OSS A 读,写到 OSS B,的使用场景

@LoveEatCandy
Copy link
Collaborator Author

endpoint 可能还需要不同的 AK, SK

@LoveEatCandy
Copy link
Collaborator Author

想到一个方案是传入的 Pathlike 对象里面可以定义这个 path 想用的 AK, SK, endpoint_url

class Pathlike:

    def __init__(self, AK, SK, endpoint_url):
        ...

@LoveEatCandy
Copy link
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant