Skip to content
#

asyncio

Here are 2,108 public repositories matching this topic...

fastapi
tiangolo
tiangolo commented Jun 12, 2020

First check

  • I added a very descriptive title to this issue.
  • I used the GitHub search to find a similar issue and didn't find it.
  • I searched the FastAPI documentation, with the integrated search.
  • I already searched in Google "How to X in FastAPI" and didn't find any information.
  • I already read and followed all the tutorial in the docs and didn't find an answ
panagiks
panagiks commented Apr 20, 2021

🐣 Is your feature request related to a problem? Please describe.
We had a report in aiohttp-session (see aio-libs/aiohttp-session#574) that a user submitting a 'large' cookie had the cookie dropped by the receiving browser.

According to RFC 6265 - section 6.1:

General-use user agents SHOULD
provide each of the following minimum

florimondmanca
florimondmanca commented Dec 5, 2020

HTTPCore has support for anyio, but we don't document it yet: https://www.python-httpx.org/async/#supported-async-environments

IMO there are two things to document:

  • HTTPX can work with programs that run under anyio, since it'll auto-detect the async environment and use the one set by anyio.
  • For maximum consistency, HTTPCore can be told to use anyio internally by passing `backend
usernein
usernein commented May 29, 2020

Example of usage:

users = await User.filter(first_name__ilike="c%r")

I know this can be done with startswith and endswith, but there are cases where using the LIKE operator is better:

users = await User.filter(first_name__ilike="j_r%")

This would be used to match Jeremy, Jorge, Jordan...

Olegt0rr
Olegt0rr commented Apr 8, 2021

New exceptions

  • BadRequest: Have no rights to send a message
  • BadRequest: Group chat was deactivated
  • BadRequest: Channel_private
  • BadRequest: Have no rights to send a message
  • Unauthorized: Forbidden: bot is not a member of the supergroup chat
  • Unauthorized: Forbidden: bot is not a member of the group chat
  • Unauthorized: Forbidden: chat_write_forbidden

Task

Wrap this e

Improve this page

Add a description, image, and links to the asyncio topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the asyncio topic, visit your repo's landing page and select "manage topics."

Learn more