profile
viewpoint

paulefoe/social_auth 3

Authentication with django rest framework and facebook

paulefoe/aioelasticsearch 0

aioelasticsearch-py wrapper for asyncio

paulefoe/aiohttp 0

Asynchronous HTTP client/server framework for asyncio and Python

paulefoe/aiohttp-demos 0

Demos for aiohttp project

paulefoe/aiohttp-graphql 0

Adds GraphQL support to your aiohttp app.

paulefoe/bookmark 0

A site to bookmark images from the internet

issue closedaio-libs/aiohttp

Allow to send list as a value for params in ClientSession

🐣 Is your feature request related to a problem? Please describe. In requests you can do something like this: r.get('https://www.archlinux.org', params={'ids': [1,2,3,4,5,6]}) and the resulting url would be https://www.archlinux.org/?ids=1&ids=2&ids=3&ids=4&ids=5&ids=6

The current behavior in aiohttp is to raise TypeError

TypeError: Invalid variable type: value should be str or int, got [1, 2, 3, 4, 5] of type <class 'list'>

💡 Describe the solution you'd like My suggestion is to convert a list like this to list of tuples in the end, i.e.:

params={
   some: 1,
   list_ids: [1,2 ,3 ]
}

would look like this:

[('some', 1), ('list_ids', 1), ('list_ids', 2), ('list_ids', 3)]

📋 Additional context If the community decides that this is desirable behavior I am more than willing to work on it.

closed time in a month

paulefoe

issue commentaio-libs/aiohttp

Allow to send list as a value for params in ClientSession

https://github.com/aio-libs/yarl/pull/443 https://github.com/aio-libs/aiohttp/issues/4714

Yeah, here it is.

paulefoe

comment created time in a month

issue openedaio-libs/aiohttp

Allow to send list as a value for params in ClientSession

🐣 Is your feature request related to a problem? Please describe. In requests you can do something like this: r.get('https://www.archlinux.org', params={'ids': [1,2,3,4,5,6]}) and the resulting url would be https://www.archlinux.org/?ids=1&ids=2&ids=3&ids=4&ids=5&ids=6

The current behavior in aiohttp is to raise TypeError

TypeError: Invalid variable type: value should be str or int, got [1, 2, 3, 4, 5] of type <class 'list'>

💡 Describe the solution you'd like My suggestion is to convert a list like this to list of tuples in the end, i.e.:

params={
   some: 1,
   list_ids: [1,2 ,3 ]
}

would look like this:

[('some', 1), ('list_ids', 1), ('list_ids', 2), ('list_ids', 3)]

📋 Additional context If the community decides that this is desirable behavior I am more than willing to work on it.

created time in a month

issue openedaniketpanjwani/chomper

Arch Linux package (yay)

I have tried to create a package for Arch User Repository. but had a few issues with the build process.

First, it looks like markupsafe should be updated to 1.1 version

https://github.com/pallets/markupsafe/issues/57

Second, I think we should target all python users from python3.6 and higher, no need to explicitly use python3.6? Otherwise, it creates additional dependency which is pretty heavy.

Should we build with --dev flag? pipenv install --dev --python 3.6.4

I think we should move requests and all other important libraries away from dev requirements and don't build anything with dev.

Other than that, the package is almost finished and I am willing to work on the issues I described previously if you think that they make sense.

What your thoughts?

created time in a month

PR opened paulefoe/presentation

remove this
+1 -1

0 comment

1 changed file

pr created time in 3 months

create barnchpaulefoe/presentation

branch : new-branch

created branch time in 3 months

more