Comments (6)
Meeting with Lars via Appear.in: Yes, we should do that. Milestone 2.0
from pyca.
You should be able to use jsonify
to easily solve this:
from flask import jsonify
@app.route('/api')
def summary():
…
return jsonify(data)
from pyca.
Maybe generate data
in a separate method which we can use for home()
as well to minimize code duplication.
from pyca.
Yes, I'm building a /api/internal_state
endpoint as well as /api/event
, which will return the events. This would probably reduce the UI to a static file with some jQuery or similar to retrieve & update data.
Probably won't get this done in time, so this will go in with 2.1 probably.
from pyca.
Work on this is happening in #73.
from pyca.
Fixed by #73
from pyca.
Related Issues (20)
- Use self.assert* instead of assert
- Ubunu 20.04 HOT 8
- Document upload to PyPI
- Description for PyPI
- Use urllib.parse.urljoin HOT 2
- Event is upcoming and recording at the same time HOT 1
- Release database sessions
- Error ingesting a finished recording HOT 5
- Switch to GitHub Actions HOT 2
- Allow HLS preview
- Allow continuous preview HOT 4
- Don't store and upload metadata catalogs HOT 2
- Capturing two usb streams using pyCA HOT 7
- Creating a pyCA initiated event HOT 4
- Add ability to download files form the UI
- Could pyCA evaluate the setting of "Add live event to Opencast Media Module"? HOT 2
- Undeprecate `upload_catalogs` option HOT 1
- Update ffmpeg version in Dockerfile HOT 6
- Probe for capture devices in metrics
- installation from packages fails HOT 2
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 pyca.