Skip to content

Commit

Permalink
Release 0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
martinRenou committed Aug 23, 2022
1 parent 3669433 commit 6e1f32d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
4 changes: 3 additions & 1 deletion ipytree/_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
version_info = (0, 2, 1)
version_info = (0, 2, 2)
__version__ = '%s.%s.%s'%(version_info[0], version_info[1], version_info[2])

module_version = "^0.2"
10 changes: 5 additions & 5 deletions ipytree/tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Bool, Int, Unicode, Enum, Tuple, Instance
)
import uuid
from ._version import __version__
from ._version import module_version


def id_gen():
Expand All @@ -18,8 +18,8 @@ class Node(Widget):
_model_name = Unicode('NodeModel').tag(sync=True)
_view_module = Unicode('ipytree').tag(sync=True)
_model_module = Unicode('ipytree').tag(sync=True)
_view_module_version = Unicode(__version__).tag(sync=True)
_model_module_version = Unicode(__version__).tag(sync=True)
_view_module_version = Unicode(module_version).tag(sync=True)
_model_module_version = Unicode(module_version).tag(sync=True)

_style_values = [
"warning", "danger", "success", "info", "default"
Expand Down Expand Up @@ -81,8 +81,8 @@ class Tree(DOMWidget):
_model_name = Unicode('TreeModel').tag(sync=True)
_view_module = Unicode('ipytree').tag(sync=True)
_model_module = Unicode('ipytree').tag(sync=True)
_view_module_version = Unicode(__version__).tag(sync=True)
_model_module_version = Unicode(__version__).tag(sync=True)
_view_module_version = Unicode(module_version).tag(sync=True)
_model_module_version = Unicode(module_version).tag(sync=True)

nodes = Tuple().tag(trait=Instance(Node), sync=True, **widget_serialization)
multiple_selection = Bool(True, read_only=True).tag(sync=True)
Expand Down
2 changes: 1 addition & 1 deletion js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ipytree",
"version": "0.2.1",
"version": "0.2.2",
"description": "A Tree Widget using jsTree",
"author": "Martin Renou",
"license": "MIT",
Expand Down

0 comments on commit 6e1f32d

Please sign in to comment.