Giter Site home page Giter Site logo

Comments (3)

OhMaley avatar OhMaley commented on July 30, 2024

I have the same issue.
No release since 2019/03/26 (date of release of the version you are using: 0.2.14). The base_path argument has been introduced in #48 from 2020/05/12, so you won't be able to use it until the next release.

One thing you can do is to use the master branch (which includes the changes you need). To use the master branch:
pip install git+https://github.com/getsling/flask-swagger@master

from flask-swagger.

aninhalacerda avatar aninhalacerda commented on July 30, 2024

Same issue here.
Are you planning on releasing soon?

from flask-swagger.

Mattwmaster58 avatar Mattwmaster58 commented on July 30, 2024

I think the solution mentioned above is the best we have for now. One thing I had to do was first uninstall flask-swagger, I suspect this is because master and PyPi specify they are the same version, whereas master actually has updated code. (Probably could've used --forced-reinstall, but be aware this reinstalls dependencies, and the dependency resolution will be done against what this package specifies, not what's in your requirements.txt or whatever, so TLDR, just uninstall and reinstall for the least problems ;))

I would caution against using the master branch, and instead pick a commit like the latest one as of the time of this comment, 23408f4

So your full pip install command:

pip uninstall -y flask-swagger && pip install git+https://github.com/getsling/flask-swagger@23408f4

from flask-swagger.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.