input: Write a python function to return the list of URL patterns from a Django urlpatterns list.
  assert get_urlpatterns([path('todos/', TodoViewSet.as_view())]) == ['todos/']
  assert get_urlpatterns([path('home/', HomeViewSet.as_view()), path('about/', AboutViewSet.as_view())]) == ['home/', 'about/']
  assert get_urlpatterns([]) == []
output: from django.urls import path
  
  def get_urlpatterns(urlpatterns):
      return [pattern.pattern._route for pattern in urlpatterns]