o
    ©i  ã                   @  sN   d dl mZ d dlmZ zd dlmZ W n ey   edƒ‚w dd	d
„ZdS )é    )Úannotations)ÚAny)ÚAsyncPGInstrumentorzš`logfire.instrument_asyncpg()` requires the `opentelemetry-instrumentation-asyncpg` package.
You can install this with:
    pip install 'logfire[asyncpg]'Úkwargsr   ÚreturnÚNonec                  K  s   t ƒ jdi | ¤Ž dS )zšInstrument the `asyncpg` module so that spans are automatically created for each query.

    See the `Logfire.instrument_asyncpg` method for details.
    N© )r   Ú
instrument)r   r   r   úl/var/www/html/karishye-ai-python/venv/lib/python3.10/site-packages/logfire/_internal/integrations/asyncpg.pyÚinstrument_asyncpg   s   r   N)r   r   r   r   )	Ú
__future__r   Útypingr   Ú%opentelemetry.instrumentation.asyncpgr   ÚImportErrorÚRuntimeErrorr   r   r   r   r
   Ú<module>   s    ÿÿ