mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-17 14:58:13 +00:00
Rename __json__() to asdict()
This commit is contained in:
@ -133,7 +133,7 @@ class DockerVM(BaseNode):
|
||||
)
|
||||
)
|
||||
|
||||
def __json__(self):
|
||||
def asdict(self):
|
||||
return {
|
||||
"name": self._name,
|
||||
"usage": self.usage,
|
||||
|
Reference in New Issue
Block a user