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
Now that I'm adding SSA methods, it becomes clear that some of the arguments and functionality is named very similarly as those of SIA's. Namely we work with collections.
So, the question would be: which one do you find more user friends? Adding new methods, e.g. list_collections_ssa (and then also rename the currently existing list_collections to list_collections_sia, or instead add a kwarg that is either sia or ssa, and defaulting it to sia to keep the current behaviour?
I am very slightly in favor of list_collections_{sia,ssa} because of improved discoverability (tab-completion will show those). But I am also perfectly happy with the other option.
list_collections is pretty basic right now. I would use optional filtering arguments at the expense of discoverability to leave the door open for other potential orthogonal filters.
I'm even more inclined to doing the list_collections() way, as it seems that we'll get all collections combined with a simple CAOM search, so will in fact need to do more filtering to get either SIA or SSA. And who knows, maybe there will be use cases where having the combined list is useful.
Now that I'm adding SSA methods, it becomes clear that some of the arguments and functionality is named very similarly as those of SIA's. Namely we work with
collections
.So, the question would be: which one do you find more user friends? Adding new methods, e.g.
list_collections_ssa
(and then also rename the currently existinglist_collections
tolist_collections_sia
, or instead add a kwarg that is eithersia
orssa
, and defaulting it tosia
to keep the current behaviour?cc @andamian and @keflavich
(Currently this affects the IRSA module, but ultimately will affect other ones as we turn to use SIAv2 and SSA backends instead of the webforms)
The text was updated successfully, but these errors were encountered: