Skip to content

Instantly share code, notes, and snippets.

@cprieto
Created October 5, 2017 02:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cprieto/2c71504971bec07f3c1de294ae27dd81 to your computer and use it in GitHub Desktop.
Save cprieto/2c71504971bec07f3c1de294ae27dd81 to your computer and use it in GitHub Desktop.
Problem with PyCharm inspection and :param types.
# It requires `pip install Flask Flask-Restful`
from flask import Flask
from flask_restful import Api
def init_app():
logger.debug('creating flask application')
app = Flask(__name__)
api = Api(app)
# You should see problems marking app as an invalid parameter for Api in PyCharm 2017.2.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment