Format schema

This commit is contained in:
WQY\qiong
2022-10-21 20:31:06 +08:00
parent a3e491091e
commit a48c21f49b
6 changed files with 31 additions and 31 deletions

View File

@@ -4,8 +4,8 @@ from .s0_base import *
def get_pump_schema(name: str) -> dict[str, dict[str, Any]]:
return { 'id' : {'type': 'str' , 'optional': False , 'readonly': True },
'node1' : {'type': "str" , 'optional': False , 'readonly': False},
'node2' : {'type': "str" , 'optional': False , 'readonly': False} }
'node1' : {'type': 'str' , 'optional': False , 'readonly': False},
'node2' : {'type': 'str' , 'optional': False , 'readonly': False} }
def get_pump(name: str, id: str) -> dict[str, Any]: