get_parent

get_parent(search_key, columns=[], show_retired=True)

Get the parent of an sobject.

param:

search_key - a unique identifier key representing an sobject

keyparam:

columns - the columns that will be returned in the sobject

show_retired - it defaults to False so it does not show retired parent if that’s the case

return:

dictionary - the parent sobject