Feature/quest class model#81
Conversation
- инжектиран му е кода, който се изискваше - настроен с нужните за импортиране неща
- added a comment for ruff to ignore it, because this is not used as of this pull request - forgot to use english in the previous commit, sorry :)
| function_template = db.Column(db.Text, nullable=False) | ||
|
|
||
| # Quest inputs, where input_0 is the null test | ||
| input_0 = db.Column(db.Text, nullable=True) # Input for the quest |
There was a problem hiding this comment.
Lets update input_0 to nullable=False. We will have validation in the frontend, but lets force it in the database as well.
| input_9 = db.Column(db.Text, nullable=True) # Input for the quest | ||
|
|
||
| # Quest outputs, where output_0 is the null test | ||
| output_0 = db.Column(db.Text, nullable=True) # Output for the quest |
There was a problem hiding this comment.
Same as input_0, lets change output_0 to nullable=False
|
Между другото, разбрах проблема по моята част. За това имам няколко комита за едно елементарно нещо. Отговорих си сам, но в последствие, хахаха. Не бях дръпнал клона, по който сме бачкали и имаше конфликти. Спря ми тока и за това не го направих вчера. |






📝 Description
made a file in the models folder, injected the provided code from the task, imported the Quest class in app.py
🔗 Linked Issue (Required)
Closes: #24
🧪 Testing
ruff not installed, btw
when importing from extensions and config in app.py and user.py(maybe more), in the code it's backend.config, but they are in the same folder. "backend." should be removed there or not?
🎓 Learning Reflection
📸 Screenshots / Logs (if applicable)