MCPcopy Create free account
hub / github.com/PaddlePaddle/Research / __getitem__

Method __getitem__

NLP/Text2SQL-BASELINE/text2sql/dataproc/sql_label.py:101–103  ·  view source on GitHub ↗

doc

(self, key)

Source from the content-addressed store, hash-verified

99 return ['cond_conn_op', 'sel', 'agg', 'conds', 'order_by', 'order_direction', 'limit', 'group_by', 'having']
100
101 def __getitem__(self, key):
102 """doc"""
103 return getattr(self, key)
104
105 def to_json(self):
106 """doc"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected