Flask
Flask is a web framework for Python, based on the Werkzeug toolkit.
Here are 14,363 public repositories matching this topic...
Describe your context
Please provide us your environment so we can easily reproduce the issue.
- replace the result of
pip list | grep dashbelow
dash 1.8.0
dash-core-components 1.7.1
dash-html-components 1.0.2
dash-renderer 1.2.3
dash-table 4.6.0
-
if frontend related, tell us your Browser, Version and OS
- OS: All
- Brows
I need a step by step guide on setting up a CI/CD pipeline using AWS CodePipeline for a Flask application deployed using Zappa.
-
Updated
Feb 19, 2020
Add a field on the breakpoint that shows the number of times a breakpoint was hit. See The -break-list Command.
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
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
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?
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
docs: Add an index
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
-
Updated
Feb 19, 2020 - Python
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.
What likely needs to happen:
- Docs moved inside of package (OR linked via setuptools)
- Docs read and imported via python
- 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.
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
-
Updated
Feb 19, 2020 - Python
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
A feature request to keep our eyes healthy. prefers-color-scheme is a way to switch sites automatically to the dark mode based on the browsers theme. If you are using your browser in dark theme the site will switch to dark theme automatically before even its loaded. Its a new standard that all major browsers already support.
Necessary documents and more info: https://developer.mozilla.org/en-U
-
Updated
Feb 19, 2020 - Python
Attempting to return the following data structure to the user and document properly in swagger:
{ 'dynamic_key_1': ['string1', 'string2'], 'dynamic_key_2': ['string3]', ... }
i.e. a dictionary with dynamic keys, where values are a list of strings.
Using the example from here can get simple dynamic
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+
Test coverage is always important, and my goal is to eventually be at 100%. I'll be sure to do this for PRs from now on, or at least try to, but there is some existing code that is not yet covered.
The good thing is that all files have existing tests, tests for __main__.py for example can be found in the main_test.py f
-
Updated
Feb 17, 2020 - Python
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
Architecture Style
Created by Armin Ronacher
Released April 1, 2010
Latest release 8 months ago
- Repository
- pallets/flask
- Website
- flask.pocoo.org
- Wikipedia
- Wikipedia
It says in the documentation (the last section - "Working with Virtual Environments"):
However `activate_this.p