Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
eri24816 committed Mar 31, 2024
1 parent 608cef5 commit ab388d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion content/docs/node/lifecycle_of_a_node.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This document describes how nodes are created, deleted, restored, updated, saved

In case you're overwhelmed by reading this page, just read the [conclusion](#conclusion).

![Image](https://i.imgur.com/deOzDTd.png)
![Image](https://i.imgur.com/I0fMMjP.png)

https://excalidraw.com/#json=UUIVcXygC4-7GRovE2Uxw,8WvXvCo43xdHG8PScqLmmA

Expand Down
2 changes: 1 addition & 1 deletion content/docs/node/node.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ To expose an attribute to the inspector, call `expose_attribute()` in the `build
```python
class CounterNode(Node):
def build_node(self):
self.count_topic = self.add_attribute('count',StringTopic, value=0)
self.count_topic = self.add_attribute('count',StringTopic, init_value=0)
self.expose_attribute(self.count_topic, editor_type='text', label='Count')
```

Expand Down

0 comments on commit ab388d4

Please sign in to comment.