@detail_route(methods=['post'])
    @safe_operation(valid_state=models.Resource.States.OFFLINE)
    def start(self, request, resource, uuid=None):
        backend = resource.get_backend()
        backend.start(resource)
        event_logger.resource.info(
            'Resource {resource_name} has been scheduled to start.',
            event_type='resource_start_scheduled',
            event_context={'resource': resource})
detect and return type for the specified Patch object
dataset/ETHPy150Open opennode/nodeconductor/nodeconductor/structure/views.py/BaseResourceViewSet.start--crossover with--dataset/ETHPy150Open ensime/ensime-sublime/patch.py/PatchSet._detect_type