cython flask takes no keyword arguments when get uri segment
See original GitHub issuehi, i have a route something like this :
@app.route("/xxx-detail/<gid>")
def xxx_detail(gid):
return render_template("xxx_detail.html")
idk, but when i use cython, i got error :
TypeError: ontology_detail() takes no keyword arguments
but it’s work fine with python interpreter, thank you !
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
python - Flask url with only one parameter is not processed
You need to set the always_allow_keywords option as suggested here from setuptools import setup from Cython.Build import cythonize setup( ...
Read more >Introduction - · python-data
Note : Be sure to download the Python 3, not 2, and get the correct ... Most plotting functions allow you to specify...
Read more >Speed Up Your Python Program With Concurrency
Learn what concurrency means in Python and why you might want to use it. You'll see a simple, non-concurrent approach and then look...
Read more >Bug listing with status RESOLVED with resolution OBSOLETE ...
... net-device has no symlink to the driver (vmware's vmxnet and other)" status:RESOLVED ... Bug:244517 - "sys-apps/man-db keyword request" status:RESOLVED ...
Read more >Changes — Jinja Documentation (3.1.x)
Windows drive-relative path segments in template names will not result in FileSystemLoader and ... |groupby filter takes an optional default argument.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@TeamSpen210 Same problem when compiling flask URI converter source code into “.so” extension, “always_allow_keywords” is working. you can add the flags to setup.py, this is how my setup.py looks like:
See the
always_allow_keywords
option here: http://docs.cython.org/en/latest/src/reference/compilation.html#compiler-directives