mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-22 16:59:02 +00:00
Rename __json__() to asdict()
This commit is contained in:
@ -38,7 +38,7 @@ class EthernetHub(BaseNode):
|
||||
|
||||
super().__init__(name, node_id, project, manager)
|
||||
|
||||
def __json__(self):
|
||||
def asdict(self):
|
||||
|
||||
return {
|
||||
"name": self.name,
|
||||
|
Reference in New Issue
Block a user