MCPcopy Create free account
hub / github.com/google-research/language / from_json

Method from_json

language/xsp/data_preprocessing/sql_utils.py:151–157  ·  view source on GitHub ↗
(self, dictionary)

Source from the content-addressed store, hash-verified

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

Callers 4

process_datasetFunction · 0.45
mainFunction · 0.45
from_jsonMethod · 0.45
from_jsonMethod · 0.45

Calls 1

SQLActionClass · 0.85

Tested by

no test coverage detected