def get(self, project_id): """ Return asset types related to given project if the current user has access to it. --- tags: - User parameters: - in: path name: project_id required: True schema: type: UUID example: a24a6ea4-ce75-4665-a070-57453082c25 responses: 200: description: Asset types related to given project """ projects_service.get_project(project_id) return user_service.get_asset_types_for_project(project_id)
def get(self, project_id): projects_service.get_project(project_id) return user_service.get_asset_types_for_project(project_id)