Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/bhowiebkr/PyFlowGraph
/ set_code
Method
set_code
src/core/node.py:459–461 ·
view source on GitHub ↗
(self, code_text)
Source
from the content-addressed store, hash-verified
457
dialog.exec()
458
459
def
set_code(self, code_text):
460
self.code = code_text
461
self.update_pins_from_code()
462
463
def
set_gui_code(self, code_text):
464
self.gui_code = code_text
Callers
15
undo
Method · 0.95
create_test_node
Method · 0.95
_create_nodes_manually
Method · 0.95
test_connection_deletion_after_node_undo
Method · 0.95
test_node_undo_with_code_based_pins
Method · 0.95
test_code_management
Method · 0.95
test_pin_generation_from_code
Method · 0.95
test_execution_pins
Method · 0.95
test_node_serialization
Method · 0.95
test_pin_type_detection
Method · 0.95
test_invalid_code_handling
Method · 0.95
test_code_management
Method · 0.95
Calls
1
update_pins_from_code
Method · 0.95
Tested by
15
create_test_node
Method · 0.76
_create_nodes_manually
Method · 0.76
test_connection_deletion_after_node_undo
Method · 0.76
test_node_undo_with_code_based_pins
Method · 0.76
test_code_management
Method · 0.76
test_pin_generation_from_code
Method · 0.76
test_execution_pins
Method · 0.76
test_node_serialization
Method · 0.76
test_pin_type_detection
Method · 0.76
test_invalid_code_handling
Method · 0.76
test_code_management
Method · 0.76
test_pin_generation_from_code
Method · 0.76