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
I am trying to make use of the proj_id and proj_name fields from the info structure.
It seems those are protected fields and cannot be set by directly writing in the dictionary (info['proj_id'] = 12345).
I cannot find setter functions for those fields, and I was wondering if I'm missing something or if this is a missing feature.
@LaurentLM I think so far nobody has asked for the ability to set these even though they do show up in the info docs. Would you be up for making a PR to allow setting them? Presumably for proj_name for example we can use whatever safe setter/getter we use for info["description"], which is also a string. For proj_id (which needs to be an int) it might take a bit more work...
Activity
[-]fields proj_id, proj_name[/-][+]Fields `proj_id`, `proj_name`[/+]larsoner commentedon May 21, 2025
@LaurentLM I think so far nobody has asked for the ability to set these even though they do show up in the info docs. Would you be up for making a PR to allow setting them? Presumably for
proj_namefor example we can use whatever safe setter/getter we use forinfo["description"], which is also a string. Forproj_id(which needs to be anint) it might take a bit more work...