Skip to content

Commit

Permalink
🚀 Release 0.2.5
Browse files Browse the repository at this point in the history
🚀 Release 0.2.5
  • Loading branch information
dkedar7 authored Aug 14, 2023
2 parents 3229e43 + ad90144 commit dc7f222
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 9 deletions.
8 changes: 3 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# Release 0.2.4
# Release 0.2.5

## 0.2.4 (2023-08-12)
## 0.2.5 (2023-08-13)

### Improvements

- Improve responsiveness on mobile views.
- `outputs` argument overrides callback function output hints.
- Improve pytest coverage.
- Fix: `update_live` is automatically set to `True` if the callback function doesn't require any inputs.
8 changes: 8 additions & 0 deletions docs/history.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# History

# Release 0.2.5

## 0.2.5 (2023-08-13)

### Improvements

- Fix: `update_live` is automatically set to `True` if the callback function doesn't require any inputs.

# Release 0.2.4

## 0.2.4 (2023-08-12)
Expand Down
2 changes: 1 addition & 1 deletion fast_dash/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

__author__ = """Kedar Dabhadkar"""
__email__ = "kedar@fastdash.app"
__version__ = "4"
__version__ = "0.2.5"

from fast_dash.Components import (
Graph,
Expand Down
4 changes: 2 additions & 2 deletions fast_dash/fast_dash.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def __init__(
theme (str, optional): Apply theme to the app. Defaults to "JOURNAL". All available themes can be found
at https://bootswatch.com/.
update_live (bool, optional): Enable hot reloading. Defaults to False.
update_live (bool, optional): Enable hot reloading. If the number of inputs is 0, this is set to True automatically. Defaults to False.
port (int, optional): Port to which the app should be deployed. Defauts to 8080.
Expand All @@ -134,7 +134,7 @@ def __init__(

self.inputs = _infer_input_components(callback_fn) if inputs is None else inputs
self.outputs = _infer_output_components(callback_fn, outputs, self.output_labels)
self.update_live = update_live
self.update_live = True if (isinstance(self.inputs, list) and len(self.inputs) == 0) else update_live
self.mode = mode
self.disable_logs = disable_logs
self.scale_height = scale_height
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool]
[tool.poetry]
name = "fast_dash"
version = "0.2.4"
version = "0.2.5"
homepage = "https://github.com/dkedar7/fast_dash"
description = "Build Machine Learning prototypes web applications lightning fast."
authors = ["Kedar Dabhadkar <kedar@fastdash.app>"]
Expand Down

0 comments on commit dc7f222

Please sign in to comment.