uplink icon indicating copy to clipboard operation
uplink copied to clipboard

A Declarative HTTP Client for Python

Results 83 uplink issues
Sort by recently updated
recently updated
newest added

Is it possible to not follow a redirect/302 ? with a allow_redirects=False ?! thanks

Needs Maintainer Input

```json { "sender" : { "house": { "number": "111" } } } ``` ```python class Github(Consumer): @post("/test") def create( self, sender_house_number: Field("sender", "house", "number") ) ``` ```python client = Github()...

**Describe the bug** Cannot add multiple files with the same name within multipart request **To Reproduce** An example cURL that works for the api I'm working with is ```shell curl...

Needs Maintainer Input

**Describe the bug** Changes made in #248 break the async `response_handler` callback behavior. **To Reproduce** Define asynchronous response handler: ```python @uplink.response_handler async def custom_response_handler(response): return "result" ``` Define consumer method...

Needs Maintainer Input

class Test(Consumer): @returns.json @json @patch("orders/address/pickup") def task_updatePickupLoc(self, **body: Body): """Updates Pickup Location of a given order""" When the method is called using required parameters the code runs and performs a...

help wanted

Fixes #256. Changes proposed in this pull request: - Fix `threaded_callback` to work with async callbacks. This restores behavior that was changed in v0.9.6 ([#248](https://github.com/prkumar/uplink/pull/248)). Attention: @prkumar

**Is your feature request related to a problem? Please describe.** It would be nice if Uplink could support Union types as response model. We're using Uplink (with Pydantic) to automatically...

help wanted

I was expecting it in https://www.python-httpx.org/advanced/#ssl-certificates section. I went to read the source code expecting parallel api like [this](https://stackoverflow.com/questions/9093289/how-to-create-a-dual-authentication-https-client-in-python-without-lgpl-libs). And I found it supported. I search the docs again but...

good first issue

### Discussed in https://github.com/prkumar/uplink/discussions/235 Originally posted by **mivade** December 20, 2021 [RFC 6585](https://datatracker.ietf.org/doc/html/rfc6585) describes the 429 status code to indicate hitting rate limits. This type of response may include a...

Feature Request

**Describe the bug** Uplink crashes on python3.9 when trying to serialize model **To Reproduce** This is the uplink class and method: ```python @tpa_error @uplink_retry class TPAService(FlapiBase): @uplink.returns.json(key=('data', 'appInstances', 'items')) @uplink.json...