mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-20 16:20:18 +00:00
Rename __json__() to asdict()
This commit is contained in:
@ -77,7 +77,7 @@ class Project:
|
||||
|
||||
log.info(f"Project {self._id} with path '{self._path}' created")
|
||||
|
||||
def __json__(self):
|
||||
def asdict(self):
|
||||
|
||||
return {
|
||||
"name": self._name,
|
||||
|
Reference in New Issue
Block a user