58825816427552e5b1ce280a2e3a44fdf73f50ff,app/grandchallenge/api/urls.py,,,#,27
Before Change
router = routers.DefaultRouter()
router.register(r"patients", PatientViewSet, basename="patient")
router.register(r"studies", StudyViewSet, basename="study")
router.register(r"worklists", WorklistViewSet, basename="worklist")
router.register(
r"cases/upload-sessions",
RawImageUploadSessionViewSet,
basename="upload-session",
After Change
router.register(r"chunked-uploads", StagedFileViewSet, basename="staged-file")
// TODO: add terms_of_service and contact
schema_view = get_schema_view(
openapi.Info(
title=f"{settings.SESSION_COOKIE_DOMAIN.lstrip(".")} API",
default_version="v1",
description=f"The API for {settings.SESSION_COOKIE_DOMAIN.lstrip(".")}.",
license=openapi.License(name="Apache License 2.0"),
),
permission_classes=(permissions.IsAuthenticated,),
patterns=[path("api/v1/", include(router.urls))],
)
urlpatterns = [
url(
r"^swagger(?P<format>\.json|\.yaml)$",
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: comic/grand-challenge.org
Commit Name: 58825816427552e5b1ce280a2e3a44fdf73f50ff
Time: 2019-11-15
Author: code@jmsmkn.com
File Name: app/grandchallenge/api/urls.py
Class Name:
Method Name:
Project Name: pantsbuild/pants
Commit Name: 26c73d86aed6fc33fb5959021cbdaa89ae17cd09
Time: 2020-07-20
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/option/global_options.py
Class Name: GlobalOptions
Method Name: register_bootstrap_options
Project Name: hachmannlab/chemml
Commit Name: 0feb0994460a89b01e3b8c13ba37c0b2ed8d8463
Time: 2019-01-15
Author: gvishwak@buffalo.edu
File Name: chemml/search/genetic_algorithm.py
Class Name: GeneticAlgorithm
Method Name: initialize