in init.py in robyn, there is specific code to exit from the program if dev mode is overriden from a Config class, need this to removed for enabling dynamic development or production mode deployments.
if self.config.dev:
exit("Dev mode is not supported in the python wrapper. Please use the CLI. e.g. python3 -m robyn app.py --dev ")
class DevConfig(BaseRobynConfig):
"""Development Configuration"""
DEBUG = True
def __init__(self):
super().__init__()
self.dev = True
Creating an DevConfig object result in program being exited due to the above code.
Linux
python --version
)3.9
latest
No response
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too