Hi. I am using Flask version. Trying to pass data to a chart widget.
Couldn't find any tutorial on that.
Realized there is a @app.context_processor
However, when I put my function in the "def utility_processor" it returns something like "<function getval at 0x0000021280634A60>" instead of a value retrieved by a key. Please help. Thanks
It sounds like you're encountering an issue where the function in your Subway Surfers Flask app's context processor is returning a function reference instead of executing and returning a value. This typically happens when the function is referenced without being called. In Flask, when you define a function within a context_processor, you need to ensure that the function is actually being called when you want to use its return value in your templates.
Hi,
Could you please specify the specific information you need to retrieve and the location of the data source? Additionally, providing a screenshot of some of the relevant function codes would be helpful for us to effectively assess the situation.
Thank you.