apache / apache/opendal

new feature: allow to set proxy for s3 service

Open
#6,871 1 comment 1 reaction 0 assignees View on GitHub
bindings/python enhancement releases-note/feat services/s3
Dominant language
Rust
Stars
5.4k
Forks
825
Avg merge
1d 14m
Merged PRs (30d)
127

Description

### Feature Description

I'm using python binding and it would be nice to allow to set proxy per operator without change the global env

### Problem and Solution

I'm using s3 between GFW which would need some proxy to get good connection quality , but it's not possible to set proxy for just one operator.

It would be nice to allow set a proxy for a operator:

```python
opendal.Operator(
"s3",
...,
proxy="...",
)
```

### Additional Context

_No response_

### Are you willing to contribute to the development of this feature?

- [ ] Yes, I am willing to contribute to the development of this feature.

Contributor guide

Open the contributing guide

Research direction

Start at the opendal.Operator Python entry point and trace how the S3 operator currently receives configuration and proxy settings. Check how global environment proxy handling is connected, then define done as accepting a proxy for one operator without changing the global environment, with the relevant behavior covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python, rust
Domain
backend, cloud, networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.