云端粗出

This commit is contained in:
root
2025-07-12 17:07:14 +08:00
parent bb14fba3fa
commit 5f1fc7d9c8
9 changed files with 659 additions and 165 deletions

View File

View File

@@ -0,0 +1,10 @@
from python_core.kv import kv
class Db:
def __init__(self, key: str):
self.kv = kv
self.key = key
pass

View File

@@ -0,0 +1,13 @@
from python_core.kv import kv
from .db import Db
# 模板管理
# 实现模板的增删改查
# 主键 是模板的ID uuid
class TemplateDb(Db):
def __init__(self):
self.key = "templates"
pass