Skip to content

Commit

Permalink
Adds ToDo deprecate comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedetefy committed Dec 9, 2021
1 parent ce39dd9 commit 3dc8290
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions snuba/web/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,7 @@ def handle_subscription_error(exception: InvalidSubscriptionError) -> Response:


@application.route("/<dataset:dataset>/<entity:entity>/subscriptions", methods=["POST"])
# ToDo(ahmed): Deprecate this endpoint
@application.route("/<dataset:dataset>/subscriptions", methods=["POST"])
@util.time_request("subscription")
def create_subscription(
Expand Down Expand Up @@ -466,6 +467,7 @@ def create_subscription(
"/<dataset:dataset>/<entity:entity>/subscriptions/<int:partition>/<key>",
methods=["DELETE"],
)
# ToDo(ahmed): Deprecate this endpoint
@application.route(
"/<dataset:dataset>/subscriptions/<int:partition>/<key>", methods=["DELETE"]
)
Expand Down

0 comments on commit 3dc8290

Please sign in to comment.