Florenz A.P. Hollebrandse
Florenz A.P. Hollebrandse
### Hook signature/API If we're going the auth-specific route, we may wish to adopt an interface whereby the given co-routine function when called and awaited, returns the actual header value....
To be clear, I was thinking about multiple auth handlers used for different connections within a single session. For example: ```python my_auth = ... async with ClientSession() as session: url1...
### Use case: session-wide OAuth Bearer token, periodically expiring In this use case, we use a typical OAuth JWT bearer token which can be retrieved from an Identity Provider. The...
One thought here, as an MVP, to support the above use case, could we add a setter to the property ‘ClientSession.headers’? Or are there strong reasons why this should remain...
I have created a PR for this, just to get started: PR #6983. If that's acceptable I will update docs and changelog to get this merged first before we decide...
As discussed on PR #6983 this change is redundant. The other question still outstanding is whether we want to enhance the auth arg to support a simple coroutine function without...
Referencing other discussion thread requiring a custom authentication header based on the **request body** itself: Discussion https://github.com/aio-libs/aiohttp/discussions/6627 One thought here is that if the authentication header value is just a...
For cookiecutters, I wonder whether `--recurse-submodules` should be the default? Would there be any scenario where one would create a cookiecutter repo and *not* intend the sub-modules to be part...
As a secondary issue, the copyright statement at the top of each file has the words "All rights reserved." I think that statement conflicts with the Apache license statement directly...
As a tertiary issue, the citation file at https://github.com/huggingface/transformers/blob/main/CITATION.cff lists another set of authors. I am not sure about exactly what the citation file references, but I do note that...