add workflow app log api

This commit is contained in:
takatost
2024-02-27 18:03:47 +08:00
parent 403c2f436d
commit 4432e055be
12 changed files with 276 additions and 7 deletions

View File

@ -3,6 +3,7 @@ from datetime import datetime
from typing import cast
import yaml
from flask_sqlalchemy.pagination import Pagination
from constants.model_template import default_app_templates
from core.errors.error import ProviderTokenNotInitError
@ -17,7 +18,7 @@ from services.workflow_service import WorkflowService
class AppService:
def get_paginate_apps(self, tenant_id: str, args: dict) -> list[App]:
def get_paginate_apps(self, tenant_id: str, args: dict) -> Pagination:
"""
Get app list with pagination
:param tenant_id: tenant id