Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Unresolved reference to xray.recorder.capture_async decorator

Aperta
#325 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@NathanielRN ci sta già lavorando.

Dal 1/2/2022.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Hi,

Pycharm highlights xray_recorder.capture_async decorator as an unresolved reference (xray_recorder.capture works just fine) and indeed, the code is not working. According to the documentation, this is all the setup code required to make it work:

from aws_xray_sdk.core.async_context import AsyncContext
from aws_xray_sdk.core import xray_recorder

xray_recorder.configure(service='service_name', context=AsyncContext())

The same thing happens with async context manager.

So I'm wondering if the docs are up to date with the current release.

Also, I have these dependencies in my environment:

aiobotocore==1.4.2
boto3==1.18.37
boto3-stubs==1.20.46.post1
botocore==1.21.37
botocore-stubs==1.23.46.post1
aws-xray-sdk==2.9.0

Thank you

Lingua principale
Python
Stelle
339
Fork
147
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di aws/aws-xray-sdk-python

Tutte le issue di aws/aws-xray-sdk-python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.