def expand_package_descriptor(descriptor):
descriptor.setdefault('<STR_LIT>', config.DEFAULT_DATA_PACKAGE_PROFILE)<EOL>for resource in descriptor.get('<STR_LIT>', []):<EOL><INDENT>expand_resource_descriptor(resource)<EOL><DEDENT>return descriptor<EOL>
Apply defaults to data package descriptor (IN-PLACE FOR NOW).