Skip to content
#

Flask

flask logo

Flask is a web framework for Python, based on the Werkzeug toolkit.

Here are 16,270 public repositories matching this topic...

dash
sphet
sphet commented Apr 22, 2020

I want to get the updated document from Python Eve via the on_updated callbacks. All I can get right now are the updates and the original. I can update the original myself, but I see from the source code that is done right after the callback.

It would be good if the callback would provide the updated version as well.

Please provide a way to get the UPDATED document since we are using this

jofpin
jofpin commented Jan 22, 2020

It has been a pleasure for me to contribute to all of you 2 versions of this tool.

I've been working on other open source projects that I'm about to release for you, so I haven't finished trape version 3.0.

But, I invite you and the entire community that has used this project, to collaborate with some lines of code, implementing your own ideas and improving trape, turning it into a project o

mattogrady87
mattogrady87 commented Dec 19, 2018

I have some notes that I'm hosting locally with grip for easy access. In these notes I have some .sh files linked. If I click the links in vscode it opens them up and displays them as I originally wrote them.

The only issue with grip is that when I open them, they have no whitespace or newlines where the original scripts have it. It's basically all one long, wrapped line.

Possi

butla
butla commented Feb 5, 2020

Hey! When I was reading the docs and I saw api.background.task, the first thing that popped into my head was "but you can just use asyncio.create_task or loop,.run_in_executor for that without inventing something new!". But then I noticed that it also passes the context vars to the synchronous backround stuff, which is nice. Wonder why that's not the case in the stdlib, cause it would be nic

cpaulik
cpaulik commented Oct 17, 2019

Current documentation claims that:

To create the initial database, just import the db object from an interactive Python shell and run the SQLAlchemy.create_all() method to create the tables and database:

>>> from yourapplication import db
>>> db.create_all()

Boom, and there is your database.

But the create_all() function does not seem to create the database, only the tables.

christabor
christabor commented May 10, 2017

What likely needs to happen:

  1. Docs moved inside of package (OR linked via setuptools)
  2. Docs read and imported via python
  3. Docs then parsed and available on a per-widget basis.

The ultimate goal of the above is so that there is never any disconnect between docs and UI. It should always stay in sync.

rochacbruno
rochacbruno commented Mar 11, 2020

Copied from #103

I've resolved the issue of authentication using the next code:
swagger_template = { ..., 'securityDefinitions': { 'basicAuth': { 'type': 'basic' } }, ... }
app = Flask(__name__)
Swagger(app, config=config[config_name].swagger_config, template=swagger_template)

![image](https://use

micha030201
micha030201 commented Aug 29, 2018

FlaskBB has extensive internationalization support, and several translations already. However, there's still much to be desired. After examining flaskbb's translation practices, I've found the following issues:

It's not clear what translators are supposed to do

After digging in the source files, I discovered that flaskbb uses transifex for cro

Created by Armin Ronacher

Released April 1, 2010

Latest release about 2 months ago

Repository
pallets/flask
Website
flask.pocoo.org
Wikipedia
Wikipedia
You can’t perform that action at this time.