Skip to content
#

async

Here are 563 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
njsmith
njsmith commented May 18, 2020

What should happen if deliver_cancel raises an exception? In the current implementation, the shielded cancel scope will prevent it from propagating until the process exits, which might take a while if the crash occurred before signaling the process in any way. Maybe on exception from a user-specified deliver_cancel we should call the default deliver_cancel to kill the process? Or just kill() since

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...

jreese
jreese commented Jul 30, 2018

It seems there are some cases where there is already an existing, active event loop after forking, which causes an exception when the child process tries to create a new event loop. It should check for an existing event loop first, and only create one if there's no active loop available.

Target function: https://github.com/jreese/aiomultiprocess/blob/master/aiomultiprocess/core.py#L93

See #

tsarvela
tsarvela commented Oct 30, 2018

Feature request

The asynchronous functionality of parallel-ssh is very much appreciated for management tasks. Thank you for this!

For the feature request:

It seems that the open_session() can keep worker allocated for much longer than expected in failure cases. Would it be reasonable to stretch the timeout option of wait_socket() to open_session() ?

cburgdorf
cburgdorf commented Apr 2, 2020

What was wrong?

A common BroadcastConfig to use is BroadcastConfig(require_subscriber=False). It would be nice to have a constant for that so applications that are using the event bus can import it directly from lahja.

How can it be fixed?

  1. Create a new constant FIRE_AND_FORGET_BROADCASTING in lahja/constants.py

  2. Import it in lahja/__init__.py so that it gets r

Improve this page

Add a description, image, and links to the async 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 async topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.