Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f7cfb44

Browse files
committedJul 10, 2024·
Remove unique filter.
1 parent f0fb1af commit f7cfb44

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed
 

‎opentelemetry-semantic-conventions/scripts/templates/semantic_attributes.rs.j2

-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
{%- set x=attribute.__setattr__("stability_string", (attribute.stability | string())) %}
1212
{%- endfor %}
1313

14-
{%- set attributes = (attributes | unique(True, 'fqn_const_name')) | list %}
15-
1614
{%- for name, attrs in (attributes | groupby('fqn_const_name')) %}
1715
{%- set attribute = attrs | selectattr('stability_string', '!=', 'StabilityLevel.DEPRECATED') | first %}
1816
{%- set attribute = attribute if attribute else attrs.first() %}

0 commit comments

Comments
 (0)
Please sign in to comment.