Coder Social home page Coder Social logo

Comments (10)

jettify avatar jettify commented on May 15, 2024 1

We configure timeouts and headers very carefully in order to maintain proper request signature, external session object may breaks things...

from aiobotocore.

thehesiod avatar thehesiod commented on May 15, 2024

IMHO this would not bode well with how botocore works, botocore has several Config options to handle pool size, etc per client, not per session. See:

we already use these to configure aiohttp, having users able to specify an aiohttp instance would break this contract.

we allow for setting aiohttp TCPConnector params via AioConfig see: https://github.com/aio-libs/aiobotocore/blob/master/aiobotocore/config.py#L37

from aiobotocore.

thehesiod avatar thehesiod commented on May 15, 2024

do you still feel strongly about this? If not let's close this.

from aiobotocore.

graingert avatar graingert commented on May 15, 2024

I'd still rather be able to pass in a whole aiohttp ClientSession.

from aiobotocore.

thehesiod avatar thehesiod commented on May 15, 2024

what is your response to my first comment? @jettify what do you think?

from aiobotocore.

graingert avatar graingert commented on May 15, 2024

when passing the actual session you could raise an exception if any of the other config variables were non None.

from aiobotocore.

thehesiod avatar thehesiod commented on May 15, 2024

there are defaults for all those even if you don't specify them

from aiobotocore.

thehesiod avatar thehesiod commented on May 15, 2024

also as botocore doesn't allow you to do this, why should aiobotocore

from aiobotocore.

graingert avatar graingert commented on May 15, 2024

@thehesiod I'd like botocore to do it too, but I don't use it.

from aiobotocore.

jettify avatar jettify commented on May 15, 2024

Closing issue for now, looks like we are not going to implement this.

from aiobotocore.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.