# How can I override Controller.get\_questions

**URL:** <https://support.prodi.gy/t/how-can-i-override-controller-get-questions/4751>\
**Category:** Uncategorized\
**Tags:** usage, custom, solved, streams, server\
**Created:** [October 2, 2021, 8:28am UTC](https://support.prodi.gy/t/how-can-i-override-controller-get-questions/4751 "2021-10-02T08:28:24Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![provRaminHamediZavie](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/provraminhamedizavie/32/3365_2.png) [@provRaminHamediZavie](https://support.prodi.gy/u/provRaminHamediZavie)\
**Post date:** [October 26, 2022, 12:44am UTC](https://support.prodi.gy/t/how-can-i-override-controller-get-questions/4751/18 "2022-10-26T00:44:48Z")

</div>

> [@ines](#):
>
> (Also, this reminds me, we should provide a `window.prodigy.save` function for use cases _without_ `instant_submit`, so you can ensure that unsaved state is submitted before redirecting etc. This won't make a difference for your case, but it'll be nice to have for others.)

Would be really useful to have this feature, I asked a question in this regard here:

> [@Auto save when no more tasks left](https://support.prodi.gy/t/auto-save-when-no-more-tasks-left/6042):
>
> we would like to automatically save the stream when it is exhausted (no more tasks left) or when closing a tab. Wondering if this can be enabled or if there are any examples of it. For example when I run: prodigy textcat.manual news\_topics ./new\_headlines\_short.jsonl --label Technology,Politics,Economy,Entertainment and my dataset is this: {"text":"Uber\u2019s Lesson: Silicon Valley\u2019s Start-Up Machine Needs Fixing","meta":{"source":"The New York Times"}} {"text":"Pearl Automation, Found…

---

_[View the full topic](https://support.prodi.gy/t/how-can-i-override-controller-get-questions/4751)._
