(self, key: str)
| 140 | return get_dag_node_str(self, "__InputNode__") |
| 141 | |
| 142 | def __getattr__(self, key: str): |
| 143 | assert isinstance( |
| 144 | key, str |
| 145 | ), "Please only access dag input attributes with str key." |
| 146 | if key not in self.input_attribute_nodes: |
| 147 | self.input_attribute_nodes[key] = InputAttributeNode( |
| 148 | self, key, "__getattr__" |
| 149 | ) |
| 150 | return self.input_attribute_nodes[key] |
| 151 | |
| 152 | def __getitem__(self, key: Union[int, str]) -> Any: |
| 153 | assert isinstance(key, (str, int)), ( |
nothing calls this directly
no test coverage detected