def get(self, sequence_id, task_type_id): """ Return true if current user has subscribed to given sequence and task type. --- tags: - User parameters: - in: path name: sequence_id required: True schema: type: UUID example: a24a6ea4-ce75-4665-a070-57453082c25 - in: path name: task_type_id required: True schema: type: UUID example: a24a6ea4-ce75-4665-a070-57453082c25 responses: 200: description: True if current user has subscribed to given sequence and task type, False otherwise """ return user_service.has_sequence_subscription(sequence_id, task_type_id)
def get(self, sequence_id, task_type_id): return user_service.has_sequence_subscription(sequence_id, task_type_id)