aio-libs / aio-libs/yarl

Altering URLs

Đang mở
#736 6 bình luận 2 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Python
Star
1.5k
Fork
215
Merge trung bình
1 ngày 2 phút
Pull request đã merge (30 ngày)
13

Mô tả

### Is your feature request related to a problem?

No

### Describe the solution you'd like

Would like the ability to alter single/multiple parts of a URL in single statement.

Example:
```python
>>> URL("http://localhost:8080").with(host="newhost", port=80)
URL("http://newhost")
```

or this

```python
>>> URL("http://localhost:8080").with(port=80)
URL("http://localhost")
```

### Describe alternatives you've considered

N/A

### Additional context

_No response_

### Code of Conduct

- [X] I agree to follow the aio-libs Code of Conduct

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.