P. Raj Kumar

Results 27 comments of P. Raj Kumar

Hi @dsharmahortonworks. Could you paste the equivalent `requests` call that is working for you?

Hi, @liiight! Sorry that I'm just getting around to this issue now. If this is still reproducible, could you provide a self-contained, simple example to help me reproduce. Something similar...

Another idea is to have Argument Annotations accept callbacks to transform the given argument value: `Header(callback="Basic {}".format)`. This would offer a lot more functionality.

For `Query` and `Header`, we could support this use case by subclassing: ```python class DynamicLocaleParam(Query): def modify_value(self, value, consumer): return ‘dynamic-%s’ % (value or consumer.locale.name) ``` For `param` and `header`,...

Hi, @coreymunn3 - If you need the cert for all requests, one option is to provide the cert using a `requests.Session`, as mentioned here: https://docs.python-requests.org/en/master/user/advanced/#client-side-certificates This should work: ``` session...

@pdrum - I don't have much experience using Django REST Framework's Serializers, but having looked at [the documentation](https://www.django-rest-framework.org/api-guide/serializers/), I think adding support would definitely be neat! In fact, you can...

@pdrum - We can also look into adding long-term support DRF Serializers; I provide the above converter as a short-term solution so that you don't have to import `marshmallow`. Notably,...