diff --git a/mwdb/resources/__init__.py b/mwdb/resources/__init__.py index b5e1850b9..f8fbf94a1 100644 --- a/mwdb/resources/__init__.py +++ b/mwdb/resources/__init__.py @@ -2,7 +2,7 @@ from functools import wraps from json import JSONDecodeError -from flask import g, request +from flask import g from marshmallow import EXCLUDE, ValidationError from werkzeug.exceptions import BadRequest, Forbidden, NotFound, Unauthorized @@ -49,19 +49,6 @@ def endpoint(*args, **kwargs): return endpoint -def deprecated(f): - """ - Decorator for deprecated methods - """ - - @wraps(f) - def endpoint(*args, **kwargs): - logger.debug("Used deprecated endpoint: %s", request.path) - return f(*args, **kwargs) - - return endpoint - - def get_type_from_str(s): object_types = {"object": Object, "file": File, "config": Config, "blob": TextBlob} if s not in object_types: