Skip to content

Commit c1abfea

Browse files
authored
Merge pull request #63 from fractal-analytics-platform/no-api-and-streamlit-pin
Remove api + pin&log streamlit version
2 parents f4a359d + 84885b0 commit c1abfea

File tree

7 files changed

+35
-70
lines changed

7 files changed

+35
-70
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## V0.1.12
2+
3+
- Drop `/api/alive` endpoint.
4+
- Pin streamlit to 1.49.0 version.
5+
16
## v0.1.11
27

38
- Replace `print` statements with `logger.debug` statements.

pixi.lock

Lines changed: 28 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
authors = [{ name = "lorenzo", email = "[email protected]" }]
33
dependencies = [
4-
"streamlit",
4+
"streamlit == 1.49.0",
55
"ngio>=0.3.2, <0.4.0",
66
"plotly",
77
"matplotlib",

src/fractal_feature_explorer/api/__init__.py

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/fractal_feature_explorer/api/_alive.py

Lines changed: 0 additions & 41 deletions
This file was deleted.

src/fractal_feature_explorer/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,5 @@ def get_config() -> LocalConfig | ProductionConfig:
101101
)
102102
config = _init_local_config()
103103
logger.debug(f"{config=}")
104+
logger.info(f"Streamlit version: {st.__version__}")
104105
return config

src/fractal_feature_explorer/main.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import ngio
44
from fractal_feature_explorer.config import get_config
55
from pathlib import Path
6-
from fractal_feature_explorer.api import setup_api_handler, AliveHandler
76

87

98
def main():
@@ -71,8 +70,6 @@ def main():
7170

7271
pg = st.navigation(pages)
7372

74-
setup_api_handler('/api/alive', AliveHandler)
75-
7673
pg.run()
7774

7875

0 commit comments

Comments
 (0)