Flask

Flask is a web framework for Python, based on the Werkzeug toolkit.
Here are 17,298 public repositories matching this topic...
On the chapter about Editable DataTable
we can find this :
This chapter includes recipes for:
Reading the contents of the DataTable
Filtering out null values
Uploading data
Determining which cell has changed
Adding or removing columns
Adding or removing rows
Clearable, deletable, renamable, and hideable colum
The README at https://github.com/Miserlou/Zappa#custom-aws-iam-roles-and-policies-for-execution talks about using manage_roles: false
to manually set a role for custom permissions.
This along with Miserlou/Zappa#244 led me down a rabbit hole.
However, if all you want to do is restrict the permissions of the Lambda itself, it seems that the partially documented `at
-
Updated
Jul 6, 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
What's wrong
@dvf it would be great if you could fix Step 6: Setting up Flask gist, it affects the workflow at the Learn Blockchains by Building One article. Also there is no way to mention someone at the gist comments, so I created this issue instead.
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
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
docs: Add an index
Currently, it is a very long page that'd be easier to navigate and search with an index. Also, maybe split up docs in small consumable amount by using different pages?
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
Jul 8, 2020 - Python
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
-
Updated
Jul 5, 2020 - Python
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 menu.py
code
def add_category(self, category, icon="", label="", parent_category=""):
label = label or category
if parent_category == "":
self.menu.append(MenuItem(name=category, icon=icon, label=label))
else:
self.find(category).childs.append(MenuItem(name=category, icon=icon, label=label))
In the last line , the 'self.find(category)...' should be '
This will help reduce some copy pasted boiler plate code.
-
Updated
Jun 14, 2020 - Python
There is a typo in Info sub-menu (in the navigation bar). It should be “GitHub” with the “h” capitalized.
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
-
Updated
Jun 30, 2020 - Python
Description
With the release of library dynaconf version 2.0, the quokka installation broke.
Then we must change the version of requirements.txt
dynaconf>=1.0.0,<=1.2.1
Reference
add auth to docs
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
-
Updated
Jun 12, 2020 - Python
I wrote some of the code to do this in a branch https://github.com/python-security/pyt/compare/class_based_views, but since I'm working on other things and this feature seems cool and important I'm making this issue
Let me know if you would like any help in implementing.
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
There are many pages in the docs that have different overlapping information about error handlers:
These need to