def extract_scheduler_location(self, topology):
schedulerLocation = {<EOL>"<STR_LIT:name>": None,<EOL>"<STR_LIT>": None,<EOL>"<STR_LIT>": None,<EOL>}<EOL>if topology.scheduler_location:<EOL><INDENT>schedulerLocation["<STR_LIT:name>"] = topology.scheduler_location.topology_name<EOL>schedulerLocation["<STR_LIT>"] = topology.scheduler_location.http_endpoint<EOL>schedulerLocation["<STR_LIT>"] =topology.scheduler_location.job_page_link[<NUM_LIT:0>]if len(topology.scheduler_location.job_page_link) > <NUM_LIT:0> else "<STR_LIT>"<EOL><DEDENT>return schedulerLocation<EOL>
Returns the representation of scheduler location that will
be returned from Tracker.