Jaymon / endpoints

Lightweight REST api backend framework that automatically maps urls to python modules and classes
MIT License
29 stars 10 forks source link

Combine call.Param list actions #138

Open Jaymon opened 6 months ago

Jaymon commented 6 months ago

Right now there are three different list actions:

I'm sure I had a reason to have all these be separate at some point in the past but the reasoning has been completely lost to time and I think append_list should be the only way.

So basically, remove append_list and append and take the functionality of the current append_list and rename it store_list.

Jaymon commented 1 month ago

argparse action has append and extend, I think I can merge store_list and append_list into extend and keep action as is. I think that would mostly be consistent with how argparse does it.