Skip to content

Commit 31a0b49

Browse files
committed
Update examples
1 parent 677dbf4 commit 31a0b49

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

example/BPNode/Example/Button/Simple.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
import Blackprint
2-
import types
32
from ...utils import colorLog
43

54
@Blackprint.registerNode('Example/Button/Simple')
65
class Simple(Blackprint.Node):
76
output = {
8-
'Clicked': types.FunctionType
7+
'Clicked': Blackprint.Types.Trigger
98
}
109

1110
# Create interface for puppet node

example/BPNode/Example/Input/Simple.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
import Blackprint
2-
import types
32
from ...utils import colorLog
43

54
@Blackprint.registerNode('Example/Input/Simple')
65
class Simple(Blackprint.Node):
76
output = {
8-
'Changed': types.FunctionType,
7+
'Changed': Blackprint.Types.Trigger,
98
'Value': str,
109
}
1110

0 commit comments

Comments
 (0)