Comments (3)
Hey, @madhavajay. If I understand correctly,
{'error': 'future_key 9ab93181 already exists', 'key': '9ab93181', 'result_url': 'http://localhost/cmd/echo?key=9ab93181'}
This as an example is what you are looking for, right ?
from flask-shell2http.
This has been included in the v1.7.0 release.
from flask-shell2http.
There could be an option during call to ignore if theres an existing entry and overwrite it?
While there is no option to overwrite an existing entry, there is another option (force_unique_key
) that allows you to always have a unique entry. Add the force_unique_key
attribute in the POST
request for this. Example: {"args": ["hello", "world"], "force_unique_key": true}
.
See the "Hint" card in this section of the docs for more info.
from flask-shell2http.
Related Issues (20)
- [test case] command that raises exception with returncode of -1
- Enable test cases for flask 2.0
- Better typing and mypy in testing
- No report exists for key... HOT 8
- Nested JSON HOT 2
- `wait` query param in `GET`
- `future.done()` and `callback_fn` race condition
- Fails if ran with multiple gunicorn workers HOT 1
- future_key already exists HOT 1
- Enable ci/tests for python 3.10
- Add some kind of basic auth HOT 2
- Permission denied HOT 4
- Possibility to interrupt command HOT 4
- use python format function HOT 2
- Cannot Import 'safe_join' from 'flask.helpers'
- A way to get binary output HOT 2
- Question HOT 1
- Seeing intermittent future_key errors HOT 3
- [New Feature] intercepting arguments before command execution
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flask-shell2http.