Repository URL to install this package:
Version:
0.1.2 ▾
|
odigos
/
etc
/
odigos-vmagent
/
instrumentations
/
python
/
asgiref
/
__pycache__
/
testing.cpython-311.pyc
|
---|
§ Ög ã óP d dl Z d dlZd dlZddlmZ ddlmZ G d d¦ « ZdS )é Né )Úguarantee_single_callable)Útimeoutc óD e Zd ZdZd ZddZddZd Zd Zdd Z ddZ d S )ÚApplicationCommunicatorz} Runs an ASGI application in a test mode, allowing sending of messages to it and retrieval of messages it sends. c óZ t |¦ « | _ || _ t j ¦ « | _ t j ¦ « | _ t j ¦ « t j | || j j | j j ¦ « ¦ « | _ d S ©N)r ÚapplicationÚscopeÚasyncioÚQueueÚinput_queueÚoutput_queueÚcontextvarsÚContextÚrunÚcreate_taskÚgetÚputÚfuture)Úselfr r s ú6/tmp/pip-target-6culloxw/lib/python/asgiref/testing.pyÚ__init__z ApplicationCommunicator.__init__ s Ý4°[ÑAÔAÔØ Ý"=??ÔÝ#MOOÔõ "Ô)Ñ+Ô+×/Ò/ÝÔØ×ÒU DÔ$4Ô$8¸$Ô:KÔ:OÑPÔPñ ô ó r c ó^ K t |¦ « 4 d{V | j d{V | j ¦ « n# t j $ r Y nw xY wddd¦ « d{V n# 1 d{V swxY w Y | j ¦ « s?| j ¦ « | j d{V dS # t j $ r Y dS w xY wdS # | j ¦ « s=| j ¦ « | j d{V w # t j $ r Y w w xY ww xY w)zV Waits for the application to stop itself and returns any exceptions. N)Ú async_timeoutr Úresultr ÚCancelledErrorÚdoneÚcancel)r r s r ÚwaitzApplicationCommunicator.wait s è è ð Ý$ WÑ-Ô-ð ð ð ð ð ð ð ð ðØ+Ð%Ð%Ð%Ð%Ð%Ð%Ð%ØK×&Ò&Ñ(Ô(Ð(Ð(øÝÔ-ð ð ð ØDðøøøð ð ð ñ ô ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð øøøð ð ð ð ð ;×#Ò#Ñ%Ô%ð Ø×"Ò"Ñ$Ô$Ð$ðØ+Ð%Ð%Ð%Ð%Ð%Ð%Ð%Ð%Ð%øÝÔ-ð ð ð ØDDðøøøð ð ø4;×#Ò#Ñ%Ô%ð Ø×"Ò"Ñ$Ô$Ð$ðØ+Ð%Ð%Ð%Ð%Ð%Ð%Ð%Ð%øÝÔ-ð ð ð ØDðøøøð øøøs C A)&AÁA)ÁAÁA)ÁAÁA)ÁC Á) A3Á3C Á6A3Á7C Â- B<