You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add GenericModelView.upsert and remove create_missing in GenericModelView.update
Unlike GenericModelView.update with create_missing, GenericModelView.upsert will call ModelView.create_item if there is no existing item, rather than calling ModelView.update_item on a stub item
GenericModelView.upsert returns 201 if it creates a new item
Rename create_missing option to create_transient_stub and rename ModelView.create_missing_item to ModelView.create_stub_item, to make it more clear what this functionality is supposed to do
Breaking: Return 200 with item instead of 204 in GenericModelView.update (#314)
Remove the return_content option that previously enabled this behavior
Bugfix: Make objects keyword-only in ModelView.flush (#325)