why just not to make it default explicitly? distance_metric='dijkstra' and disallow None?