Skip to content

Commit

Permalink
Improve documentation for trace.propagator.inject() (#3850)
Browse files Browse the repository at this point in the history
  • Loading branch information
proffalken committed Apr 16, 2024
1 parent 8d31d91 commit 60ff5e8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions opentelemetry-api/src/opentelemetry/propagate/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,9 @@ def inject(
"""Uses the configured propagator to inject a Context into the carrier.
Args:
carrier: An object that contains a representation of HTTP
headers. Should be paired with setter, which
carrier: the medium used by Propagators to read
values from and write values to.
Should be paired with setter, which
should know how to set header values on the carrier.
context: An optional Context to use. Defaults to current
context if not set.
Expand Down

0 comments on commit 60ff5e8

Please sign in to comment.