Skip to content

Commit 9bbc005

Browse files
Dotify71lzchenherin049emdneto
authored
docs(sdk): fix typos in SpanLimits docstring (#5658)
* docs(sdk): fix typos in SpanLimits docstring * docs: remove unnecessary changelog entry --------- Co-authored-by: Leighton Chen <lechen@microsoft.com> Co-authored-by: Lukas Hering <40302054+herin049@users.noreply.github.com> Co-authored-by: Emídio <9735060+emdneto@users.noreply.github.com>
1 parent b599a00 commit 9bbc005

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎.changelog/5658.changed‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
`opentelemetry-sdk`: fix typos in SpanLimits docstring

‎opentelemetry-sdk/src/opentelemetry/sdk/trace/__init__.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -588,9 +588,9 @@ def _format_links(links: Sequence[trace_api.Link]) -> list[dict[str, Any]]:
588588

589589

590590
class SpanLimits:
591-
"""The limits that should be enforce on recorded data such as events, links, attributes etc.
591+
"""The limits that should be enforced on recorded data such as events, links, attributes etc.
592592
593-
This class does not enforce any limits itself. It only provides an a way read limits from env,
593+
This class does not enforce any limits itself. It only provides a way to read limits from env,
594594
default values and from user provided arguments.
595595
596596
All limit arguments must be either a non-negative integer, ``None`` or ``SpanLimits.UNSET``.

0 commit comments

Comments
 (0)