コード例 #1
0
 def _json_dict_(self):
     return json_serialization.dataclass_json_dict(
         self, namespace='test.noncirq.namespace')
コード例 #2
0
ファイル: condition.py プロジェクト: towynlin/Cirq
 def _json_dict_(self):
     return json_serialization.dataclass_json_dict(self)
コード例 #3
0
ファイル: named_topologies.py プロジェクト: towynlin/Cirq
 def _json_dict_(self) -> Dict[str, Any]:
     return dataclass_json_dict(self)