(self, dictionary)
| 149 | return {'actions': [action.to_json() for action in self.actions]} |
| 150 | |
| 151 | def from_json(self, dictionary): |
| 152 | assert not self.actions |
| 153 | if dictionary: |
| 154 | for action in dictionary['actions']: |
| 155 | self.actions.append(SQLAction().from_json(action)) |
| 156 | return self |
| 157 | return None |
no test coverage detected