def create_location(org, course, run, block_type, block_id):
 return modulestore().make_course_key(org, course, run).make_usage_key(block_type, block_id)

def create_location ( org , course , run , block_type , block_id ) : return modulestore ( ) . make_course_key ( org , course , run ) . make_usage_key ( block_type , block_id )
returns the usage key for the given key parameters using the default modulestore .