1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

upgrade pydantic to 1.3

This commit is contained in:
checktheroads
2019-12-30 01:44:19 -07:00
parent ea3a08b28a
commit d5cd069148
9 changed files with 116 additions and 62 deletions

View File

@@ -67,7 +67,9 @@ try:
commands = _commands.Commands.import_params(user_commands)
elif not user_commands:
commands = _commands.Commands()
import json
log.info(json.dumps(user_devices, indent=2))
devices = _routers.Routers._import(user_devices.get("routers", dict()))