Skip to content

Commit

Permalink
remove escape
Browse files Browse the repository at this point in the history
  • Loading branch information
lmolkova committed Feb 17, 2024
1 parent 9502a9b commit 8b45d7b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@

class ErrorTypeValues(Enum):
OTHER = "_OTHER"
"""A fallback error value to be used when the instrumentation doesn't define a custom value."""
"""A fallback error value to be used when the instrumentation doesn't define a custom value."""

Original file line number Diff line number Diff line change
Expand Up @@ -206,10 +206,10 @@

class MessagingOperationValues(Enum):
PUBLISH = "publish"
"""One or more messages are provided for publishing to an intermediary. If a single message is published, the context of the "Publish" span can be used as the creation context and no "Create" span needs to be created."""
"""One or more messages are provided for publishing to an intermediary. If a single message is published, the context of the "Publish" span can be used as the creation context and no "Create" span needs to be created."""

CREATE = "create"
"""A message is created. "Create" spans always refer to a single message and are used to provide a unique creation context for messages in batch publishing scenarios."""
"""A message is created. "Create" spans always refer to a single message and are used to provide a unique creation context for messages in batch publishing scenarios."""

RECEIVE = "receive"
"""One or more messages are requested by a consumer. This operation refers to pull-based scenarios, where consumers explicitly call methods of messaging SDKs to receive messages."""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ class OpentracingRefTypeValues(Enum):
"""The parent Span depends on the child Span in some capacity."""

FOLLOWS_FROM = "follows_from"
"""The parent Span doesn't depend in any way on the result of the child Span."""
"""The parent Span doesn't depend in any way on the result of the child Span."""

2 changes: 1 addition & 1 deletion scripts/semconv/templates/semantic_attributes.j2
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Deprecated: {{attribute.deprecated | to_doc_brief}}.
class {{class_name}}(Enum):
{%- for member in attribute.attr_type.members %}
{{ member.member_id | to_const_name }} = {{ print_value(type, member.value) }}
"""{% filter escape %}{{member.brief | to_doc_brief}}.{% endfilter %}"""
"""{{member.brief | to_doc_brief}}."""
{# Extra line #}
{%- endfor %}
{% endfor %}
Expand Down

0 comments on commit 8b45d7b

Please sign in to comment.