8683d843eaaf30c2316538c52a24bb8665a58080,polyaxon/api/searches/urls.py,,,#,8
Before Change
from api.searches import views
from constants.urls import ID_PATTERN, OWNER_NAME_PATTERN, PROJECT_NAME_PATTERN
searches_urlpatterns = [
re_path(r"^searches/{}/{}/groups/?$".format(OWNER_NAME_PATTERN, PROJECT_NAME_PATTERN),
views.ExperimentGroupSearchListView.as_view()),
re_path(r"^searches/{}/{}/experiments/?$".format(OWNER_NAME_PATTERN, PROJECT_NAME_PATTERN),
views.ExperimentSearchListView.as_view()),
re_path(r"^searches/{}/{}/builds/?$".format(OWNER_NAME_PATTERN, PROJECT_NAME_PATTERN),
views.BuildSearchListView.as_view()),
re_path(r"^searches/{}/{}/jobs/?$".format(OWNER_NAME_PATTERN, PROJECT_NAME_PATTERN),
views.JobSearchListView.as_view()),
re_path(r"^searches/{}/{}/groups/{}?$".format(
OWNER_NAME_PATTERN, PROJECT_NAME_PATTERN, ID_PATTERN),
views.ExperimentGroupSearchDeleteView.as_view()),
re_path(r"^searches/{}/{}/experiments/{}?$".format(
OWNER_NAME_PATTERN, PROJECT_NAME_PATTERN, ID_PATTERN),
views.ExperimentSearchDeleteView.as_view()),
re_path(r"^searches/{}/{}/builds/{}?$".format(
OWNER_NAME_PATTERN, PROJECT_NAME_PATTERN, ID_PATTERN),
views.BuildSearchDeleteView.as_view()),
re_path(r"^searches/{}/{}/jobs/{}?$".format(
OWNER_NAME_PATTERN, PROJECT_NAME_PATTERN, ID_PATTERN),
views.JobSearchDeleteView.as_view()),
]
urlpatterns = format_suffix_patterns(searches_urlpatterns)
After Change
from api.searches import views
from constants.urls import ID_PATTERN, OWNER_NAME_PATTERN, PROJECT_NAME_PATTERN
searches_urlpatterns = [
re_path(r"^searches/{}/{}/groups/?$".format(OWNER_NAME_PATTERN, PROJECT_NAME_PATTERN),
views.ExperimentGroupSearchListView.as_view()),
re_path(r"^searches/{}/{}/experiments/?$".format(OWNER_NAME_PATTERN, PROJECT_NAME_PATTERN),
views.ExperimentSearchListView.as_view()),
re_path(r"^searches/{}/{}/builds/?$".format(OWNER_NAME_PATTERN, PROJECT_NAME_PATTERN),
views.BuildSearchListView.as_view()),
re_path(r"^searches/{}/{}/jobs/?$".format(OWNER_NAME_PATTERN, PROJECT_NAME_PATTERN),
views.JobSearchListView.as_view()),
re_path(r"^searches/{}/{}/notebooks/?$".format(OWNER_NAME_PATTERN, PROJECT_NAME_PATTERN),
views.NotebookSearchListView.as_view()),
re_path(r"^searches/{}/{}/tensorboards/?$".format(OWNER_NAME_PATTERN, PROJECT_NAME_PATTERN),
views.TensorboardSearchListView.as_view()),
re_path(r"^searches/{}/{}/groups/{}?$".format(
OWNER_NAME_PATTERN, PROJECT_NAME_PATTERN, ID_PATTERN),
views.ExperimentGroupSearchDeleteView.as_view()),
re_path(r"^searches/{}/{}/experiments/{}?$".format(
OWNER_NAME_PATTERN, PROJECT_NAME_PATTERN, ID_PATTERN),
views.ExperimentSearchDeleteView.as_view()),
re_path(r"^searches/{}/{}/builds/{}?$".format(
OWNER_NAME_PATTERN, PROJECT_NAME_PATTERN, ID_PATTERN),
views.BuildSearchDeleteView.as_view()),
re_path(r"^searches/{}/{}/jobs/{}?$".format(
OWNER_NAME_PATTERN, PROJECT_NAME_PATTERN, ID_PATTERN),
views.JobSearchDeleteView.as_view()),
re_path(r"^searches/{}/{}/notebooks/{}?$".format(
OWNER_NAME_PATTERN, PROJECT_NAME_PATTERN, ID_PATTERN),
views.NotebookSearchDeleteView.as_view()),
re_path(r"^searches/{}/{}/tensorboards/{}?$".format(
OWNER_NAME_PATTERN, PROJECT_NAME_PATTERN, ID_PATTERN),
views.TensorboardSearchDeleteView.as_view()),
]
urlpatterns = format_suffix_patterns(searches_urlpatterns)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
Instances
Project Name: polyaxon/polyaxon
Commit Name: 8683d843eaaf30c2316538c52a24bb8665a58080
Time: 2019-03-25
Author: mouradmourafiq@gmail.com
File Name: polyaxon/api/searches/urls.py
Class Name:
Method Name:
Project Name: polyaxon/polyaxon
Commit Name: 3afb59279cd54cef850950aecbbc88a0cbb17e4a
Time: 2018-05-19
Author: mouradmourafiq@gmail.com
File Name: polyaxon/polyaxon/urls.py
Class Name:
Method Name:
Project Name: comic/grand-challenge.org
Commit Name: 51a2392a137411e8f7d84c0c6b5b7dc87c9f0041
Time: 2020-12-17
Author: 12661555+jmsmkn@users.noreply.github.com
File Name: app/grandchallenge/profiles/urls.py
Class Name:
Method Name: