Skip to content
#

Flask

flask logo

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

Here are 14,363 public repositories matching this topic...

dash
herrold
herrold commented Apr 8, 2018

see: dvf/blockchain#50

The underlying exploit to tamper with a blockchain is described there

props to: @TimelessP

The fix should be fairly simple:
affected file: blockchain/blockchain.py

https://github.com/dvf/blockchain/blob/4010cf3273e19146a9cd7b37cf355cb751ffef88/blockchain.py#L82

A noted, currently it reads:

if length > max_length and self.valid
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

sprossiter
sprossiter commented Feb 24, 2017

As discussed in a StackOverflow comment, I have the latest Grip 4.3.6 installed on Win 10 x64.

With that, none of my Markdown links within my Wiki pages work (e.g., [link to page 1](Page1)). If I add the .md suffix they do work in Grip but that is not the correct GitHub format (doing that gets you to the source of the page rendered as HTML).

Am I doing something very strange here?

mmirandah
mmirandah commented Jan 29, 2020

I'd like to implement Flask-SocketIO but I'm having trouble trying to figure out how to make it work with gunicorn, eventlet, and nginx while still preserving intended functionality.

So the documentation says to use several gunicorns all with one worker. Then have nginx use ip_hash to send each client to the same worker. But doesn't this mean that each client would be stuck with only one work

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.

metaperl
metaperl commented Dec 19, 2019

In my work to customize Superset (a FAB app), I often wondered about the relationship between the FAB database entities. As such, it would be nice to use a tool (I used DataGrip) to document these relationships.

Alternatively, some people might prefer a UML model of the various classes in the FAB source code.

<img width="304" alt="db-er-diagram" src="https://user-images.githubusercontent.com

Helithumper
Helithumper commented Jan 28, 2019

Within the CTFd/config.py file, there are a few variables defined under the TestConfig class which have no documentation surrounding them. What do they do?

PRESERVE_CONTEXT_ON_EXCEPTION = False
TESTING = True
DEBUG = True
SERVER_NAME = 'localhost'
SAFE_MODE = True

If someone could explain exactly what each of these do, it would be useful to add documentation surrounding the

sandromodarelli
sandromodarelli commented Feb 5, 2020

Looking at OpenAPI 3 documentation, it's possible to use a content as paramenter specification to send json into query strings.
From https://swagger.io/docs/specification/describing-parameters/

Note for Swagger UI and Swagger Editor users: Parameters with content are supported in Swagger UI 3.23.7+ and Swagger Editor 3.6.34+.

It would be great to upgrade Swagger UI to 3.23.7+

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 8 months ago

Repository
pallets/flask
Website
flask.pocoo.org
Wikipedia
Wikipedia

Related Topics

python database heroku
You can’t perform that action at this time.