populate_parent_data#

populate_parent_data(location)[source]#

Populate location json object with fields from the parent location if available.

Parameters:

location (json) – json data object for the location # parameter name change for more specificity

Returns:

The location json data object with data fields filled from the parent location.

Return type:

json