From 30c53b6857b6ce0baac178d63c7a5f37b155dc42 Mon Sep 17 00:00:00 2001 From: Rodolfo Olivieri Date: Mon, 30 Jan 2023 04:26:55 -0300 Subject: [PATCH] Remove deprecated property in blueprint (#2666) Fixes https://github.com/sanic-org/sanic/issues/2442 --- sanic/blueprints.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/sanic/blueprints.py b/sanic/blueprints.py index 5699d4bc..8050e1f6 100644 --- a/sanic/blueprints.py +++ b/sanic/blueprints.py @@ -304,9 +304,6 @@ class Blueprint(BaseSanic): # Routes for future in self._future_routes: - # attach the blueprint name to the handler so that it can be - # prefixed properly in the router - future.handler.__blueprintname__ = self.name # Prepend the blueprint URI prefix if available uri = self._setup_uri(future.uri, url_prefix)