I pulled the latest version of pepdbagent and I am noticing that when not logged in, a lot of endpoints start failing. The errors usually take a form that looks like this:
TypeError: get_namespace_info() missing 2 required positional arguments: 'user' and 'user_organizations'
I think that these should be optional and default to None. I envision pephub, the majority of the time, will be run unauthenticated and thus should be able to elegantly handle cases where a user param is not passed in.
I think the fix should be simple as when I manually pass in None things seem to work well.
I pulled the latest version of
pepdbagent
and I am noticing that when not logged in, a lot of endpoints start failing. The errors usually take a form that looks like this:I think that these should be optional and default to
None
. I envisionpephub
, the majority of the time, will be run unauthenticated and thus should be able to elegantly handle cases where auser
param is not passed in.I think the fix should be simple as when I manually pass in
None
things seem to work well.