Skip to content

Commit 5ebfe9b

Browse files
authored
feat: workflow init (#3072)
1 parent f6ccc95 commit 5ebfe9b

File tree

23 files changed

+434
-0
lines changed

23 files changed

+434
-0
lines changed

apps/application/__init__.py

Whitespace-only changes.

apps/application/admin.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.contrib import admin
2+
3+
# Register your models here.

apps/application/apps.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
from django.apps import AppConfig
2+
3+
4+
class ApplicationConfig(AppConfig):
5+
default_auto_field = 'django.db.models.BigAutoField'
6+
name = 'application'

apps/application/migrations/__init__.py

Whitespace-only changes.

apps/application/models/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# coding=utf-8
2+
"""
3+
@project: MaxKB
4+
@Author:虎虎
5+
@file: __init__.py
6+
@date:2025/5/7 15:14
7+
@desc:
8+
"""
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# coding=utf-8
2+
"""
3+
@project: MaxKB
4+
@Author:虎虎
5+
@file: application.py
6+
@date:2025/5/7 15:29
7+
@desc:
8+
"""

apps/application/tests.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.test import TestCase
2+
3+
# Create your tests here.

apps/application/views/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# coding=utf-8
2+
"""
3+
@project: MaxKB
4+
@Author:虎虎
5+
@file: __init__.py
6+
@date:2025/5/9 18:51
7+
@desc:
8+
"""

apps/common/utils/common.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ def parse_md_image(content: str):
265265
image_list = [match.group() for match in matches]
266266
return image_list
267267

268+
268269
def bulk_create_in_batches(model, data, batch_size=1000):
269270
if len(data) == 0:
270271
return

apps/workflow/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)