python-demoapp
python-demoapp copied to clipboard
Simple Python Flask web application designed for running in containers for demos
**I am getting this error message** Traceback (most recent call last): File "/Users/hamid/GitLab/Gitlab_Techworld_nina/python-demoapp/src/run.py", line 2, in from app import create_app File "/Users/hamid/GitLab/Gitlab_Techworld_nina/python-demoapp/src/app/__init__.py", line 1, in from flask import Flask File...
Bumps [flask](https://github.com/pallets/flask) from 1.1.2 to 2.3.2. Release notes Sourced from flask's releases. 2.3.2 This is a security fix release for the 2.3.x release branch. Security advisory: https://github.com/pallets/flask/security/advisories/GHSA-m2qf-hxjv-5gpq, CVE-2023-30861 Changes: https://flask.palletsprojects.com/en/2.3.x/changes/#version-2-3-2...
Was doing a test and found the escape is out of flask and we need a new version of flask to run this application
fix package error for M1 Mac computers
================================================================================= FAILURES ================================================================================= _____________________________________________________________________________ test_api_process _____________________________________________________________________________ client = def test_api_process(client): resp = client.get("/api/process") assert resp.status_code == 200 assert resp.headers["Content-Type"] == "application/json" resp_payload = json.loads(resp.data) assert len(resp_payload["processes"]) > 0 > assert...
Fixes dependencies issue while importing jinja2. For reference :-> [here](https://stackoverflow.com/questions/71718167/importerror-cannot-import-name-escape-from-jinja2)