perf: 修改命令command input 长度问题 (#7996)

* perf: 修改命令command input max_length 1024

* perf: 修改命令command input 长度问题

* perf: 修改命令command input 长度问题

* perf: 修改命令command input 长度问题

* perf: 修改命令command input 长度问题

Co-authored-by: Jiangjie.Bai <bugatti_it@163.com>
This commit is contained in:
fit2bot
2022-03-30 19:07:49 +08:00
committed by GitHub
parent 54d1996507
commit e7af037513
13 changed files with 117 additions and 53 deletions

View File

@@ -0,0 +1,10 @@
from .base import FakeDataGenerator
from terminal.models import Command
class CommandGenerator(FakeDataGenerator):
resource = 'command'
def do_generate(self, batch, batch_size):
Command.generate_fake(len(batch), self.org)