Skip to content

Commit

Permalink
better upload docstring (#148)
Browse files Browse the repository at this point in the history
* better upload docstring

* back to dev

* mention upload widget in changelog
  • Loading branch information
jwkvam committed Jul 31, 2017
1 parent b98b616 commit 3286bb9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

### Added

* Upload widget
* Dockerfile for building apps

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion bowtie/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Interactive dashboard toolkit."""

__version__ = '0.4.1'
__version__ = '0.4.2-dev'

from bowtie._layout import Layout
from bowtie._command import command
Expand Down
6 changes: 4 additions & 2 deletions bowtie/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,17 @@ def on_click(self):


class Upload(_Controller):
"""An Ant design button."""
"""Draggable file upload widget."""

_TEMPLATE = 'upload.jsx'
_COMPONENT = 'AntUpload'
_PACKAGE = None
_ATTRS = "multiple={{{multiple}}}"

def __init__(self, handler, multiple=True, caption=None):
"""Create a button.
"""Create the widget.
Note: the handler parameter may be changed in the future.
Parameters
----------
Expand Down

0 comments on commit 3286bb9

Please sign in to comment.