Answers for "@action(detail=true) meaning"

0

@action(detail=true) meaning

If you pass detail=True it means that that router will return you 
a single object whilst if you don't pass detail=True or 
pass detail=False it will return a list of objects.

One thing to have in mind is that if you are not doing anything 
or don’t need a single object in this function, you can set the 
detail=False
Posted by: Guest on July-23-2021

Python Answers by Framework

Browse Popular Code Answers by Language