Format schema
This commit is contained in:
@@ -7,10 +7,10 @@ def get_junction_schema(name: str) -> dict[str, dict[str, Any]]:
|
||||
return { 'id' : {'type': 'str' , 'optional': False , 'readonly': True },
|
||||
'x' : {'type': 'float' , 'optional': False , 'readonly': False},
|
||||
'y' : {'type': 'float' , 'optional': False , 'readonly': False},
|
||||
'elevation' : {'type': "float" , 'optional': False , 'readonly': False},
|
||||
'demand' : {'type': "float" , 'optional': True , 'readonly': False},
|
||||
'pattern' : {'type': "str" , 'optional': True , 'readonly': False},
|
||||
'links' : {'type': "str_list" , 'optional': False , 'readonly': True } }
|
||||
'elevation' : {'type': 'float' , 'optional': False , 'readonly': False},
|
||||
'demand' : {'type': 'float' , 'optional': True , 'readonly': False},
|
||||
'pattern' : {'type': 'str' , 'optional': True , 'readonly': False},
|
||||
'links' : {'type': 'str_list' , 'optional': False , 'readonly': True } }
|
||||
|
||||
|
||||
def get_junction(name: str, id: str) -> dict[str, Any]:
|
||||
|
||||
Reference in New Issue
Block a user