def get_links(metadata)->Tuple[str,str]: "Returns source code link and pytest command" return nbdoc.get_source_link(**metadata), pytest_command(**metadata)