Skip to content

Commit

Permalink
unnecessary
Browse files Browse the repository at this point in the history
  • Loading branch information
Rachel Chen authored and Rachel Chen committed Dec 9, 2024
1 parent 5e8ede7 commit 409a32b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions snuba/web/rpc/v1/endpoint_trace_item_attribute_names.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,15 +196,15 @@ def _build_response(
def _execute(
self, req: TraceItemAttributeNamesRequest
) -> TraceItemAttributeNamesResponse:
if not req.HasField("page_token"):
req.page_token.filter_offset.comparison_filter.key.type = (
AttributeKey.TYPE_STRING
)
req.page_token.filter_offset.comparison_filter.key.name = "attr_key"
req.page_token.filter_offset.comparison_filter.op = (
ComparisonFilter.OP_GREATER_THAN
)
req.page_token.filter_offset.comparison_filter.value.val_str = ""
# if not req.HasField("page_token"):
# req.page_token.filter_offset.comparison_filter.key.type = (
# AttributeKey.TYPE_STRING
# )
# req.page_token.filter_offset.comparison_filter.key.name = "attr_key"
# req.page_token.filter_offset.comparison_filter.op = (
# ComparisonFilter.OP_GREATER_THAN
# )
# req.page_token.filter_offset.comparison_filter.value.val_str = ""

if not req.meta.request_id:
req.meta.request_id = str(uuid.uuid4())
Expand Down

0 comments on commit 409a32b

Please sign in to comment.