Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dify
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tech
dify
Commits
38d045e4
Commit
38d045e4
authored
Feb 19, 2024
by
takatost
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lint
parent
ba0496e9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
workflow.py
api/controllers/console/app/workflow.py
+0
-1
b289e2408ee2_add_workflow.py
api/migrations/versions/b289e2408ee2_add_workflow.py
+1
-1
model.py
api/models/model.py
+1
-1
No files found.
api/controllers/console/app/workflow.py
View file @
38d045e4
from
flask_restful
import
Resource
,
reqparse
from
controllers.console
import
api
from
controllers.console.app.wraps
import
get_app_model
from
controllers.console.setup
import
setup_required
from
controllers.console.wraps
import
account_initialization_required
from
core.entities.application_entities
import
AppMode
...
...
api/migrations/versions/b289e2408ee2_add_workflow.py
View file @
38d045e4
...
...
@@ -5,8 +5,8 @@ Revises: 16830a790f0f
Create Date: 2024-02-19 12:47:24.646954
"""
from
alembic
import
op
import
sqlalchemy
as
sa
from
alembic
import
op
from
sqlalchemy.dialects
import
postgresql
# revision identifiers, used by Alembic.
...
...
api/models/model.py
View file @
38d045e4
...
...
@@ -12,7 +12,7 @@ from extensions.ext_database import db
from
libs.helper
import
generate_string
from
.account
import
Account
,
Tenant
from
.workflow
import
Workflow
Run
,
Workflow
from
.workflow
import
Workflow
,
WorkflowRun
class
DifySetup
(
db
.
Model
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment