Skip to content
#

Flask

flask logo

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

Here are 17,298 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

cowgill
cowgill commented Mar 21, 2019

I've searched high and low trying to find a flask-sqlalchemy reflect example that actually works.

There seem to be others with the same issue (via stack overflow) who are frustrated. I'm sure you're tired of having to troubleshoot for users as well. :-(

I'd be happy to write up the doc if you could provide a working example (using an app factory and without).

Here's what I've come up with

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

authlib
jcassee
jcassee commented Sep 20, 2018

authlib contains pretty much all you need to implement JWT token validation. It would be nice if there was a simple default one provided. I'm not sure how many moving parts it would have. If no single validator would cover 80% of cases, maybe provide more docs on how to assemble one.

@lepture If you have a general idea of how you would like to see this implemented I would probably be able to do

Created by Armin Ronacher

Released April 1, 2010

Latest release 3 months ago

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