Extended object methods not appearing in autocomplete
When typing out the following code:
from flask import Flask
from flask_restplus import Resource, Api
app = Flask(__name__)
api = Api(app)
@api.route('/ping')
class Ping(Resource):
@staticmethod
def get():
return {
'status': 'success',
'message': 'pong!'
}
The @api decorator will not offer route in its autocomplete, instead completing with a different method.

This is really super frustrating. Is there something I can do to fix this?
Please sign in to leave a comment.