64 """ |
64 """ |
65 raise NotImplementedError( |
65 raise NotImplementedError( |
66 "Method 'buildDiagram' must be implemented in subclasses." |
66 "Method 'buildDiagram' must be implemented in subclasses." |
67 ) |
67 ) |
68 |
68 |
69 def parsePersistenceData(self, version, data): # noqa: U100 |
69 def parsePersistenceData(self, version, data): # noqa: U-100 |
70 """ |
70 """ |
71 Public method to parse persisted data. |
71 Public method to parse persisted data. |
72 |
72 |
73 @param version version of the data (unused) |
73 @param version version of the data (unused) |
74 @type str |
74 @type str |
86 @return dictionary containing data to be persisted |
86 @return dictionary containing data to be persisted |
87 @rtype dict |
87 @rtype dict |
88 """ |
88 """ |
89 return {} |
89 return {} |
90 |
90 |
91 def fromDict(self, version, data): # noqa: U100 |
91 def fromDict(self, version, data): # noqa: U-100 |
92 """ |
92 """ |
93 Public method to populate the class with data persisted by 'toDict()'. |
93 Public method to populate the class with data persisted by 'toDict()'. |
94 |
94 |
95 @param version version of the data (unused) |
95 @param version version of the data (unused) |
96 @type str |
96 @type str |