(tree, socket)
| 262 | |
| 263 | |
| 264 | def get_socket_value(tree, socket): |
| 265 | default = socket.default_value |
| 266 | if not isinstance(default, float): |
| 267 | default = list(default) |
| 268 | for link in tree.links: |
| 269 | if link.to_socket == socket: |
| 270 | return (link.from_socket, default) |
| 271 | return (None, default) |
| 272 | |
| 273 | |
| 274 | def clear_socket_input(tree, socket): |
nothing calls this directly
no outgoing calls
no test coverage detected