Skip to content

Commit a8be093

Browse files
committed
refactor(mcsmapi): 移除 InstanceDetail 类中冗余的文档字符串
移除了 InstanceDetail 类中 command 和 get_output 方法的冗余文档字符串部分,简化了代码结构,提高了代码的可读性和维护性。
1 parent cb05b88 commit a8be093

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mcsmapi/models/instance.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ def reinstall(self, targetUrl: str, title: str = "", description: str = ""):
272272

273273
def command(self, command: str) -> str:
274274
"""
275-
发送命令给实例
275+
发送命令给实例
276276
277277
:params command: 要发送的命令
278278
@@ -284,7 +284,7 @@ def command(self, command: str) -> str:
284284

285285
def get_output(self, size: int | None = None) -> str:
286286
"""
287-
获取实例的输出
287+
获取实例的输出
288288
289289
:params size: 要获取的输出大小
290290

0 commit comments

Comments
 (0)