Skip to content

Commit 6ce84d3

Browse files
committed
Add inline dependencies
1 parent 2dcf8f3 commit 6ce84d3

1 file changed

Lines changed: 18 additions & 5 deletions

File tree

filter_engine.py

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
# /// script
2+
# requires-python = ">=3.12"
3+
# dependencies = [
4+
# "marimo>=0.23.8",
5+
# "opensyndrome @ git+https://github.com/OpenSyndrome/open-syndrome-python.git@main",
6+
# "plotly>=6.2.0",
7+
# "polars>=1.38.1",
8+
# ]
9+
# ///
110
import marimo
211

312
__generated_with = "0.21.0"
@@ -142,7 +151,7 @@ def _():
142151
def _(mo, prompt):
143152
mo.callout(
144153
mo.md(
145-
f"""
154+
f"""
146155
This is a prototype for filtering your CSV data using definitions from the [Open Syndrome Initiative](https://opensyndrome.org/).
147156
148157
You can either provide a sample of your own data, up to 10 MB, or generate a toy dataset using your preferred GenAI tool.
@@ -268,10 +277,14 @@ def _(df_selected, initial_date_column, initial_yaml, mo):
268277
label="Date format<sup>1</sup>",
269278
)
270279

271-
date_block = mo.vstack([
272-
date_format_input,
273-
mo.md("[^1]: A Python date format code compatible with your data. See other date formats [here](https://strftime.org/).")
274-
])
280+
date_block = mo.vstack(
281+
[
282+
date_format_input,
283+
mo.md(
284+
"[^1]: A Python date format code compatible with your data. See other date formats [here](https://strftime.org/)."
285+
),
286+
]
287+
)
275288

276289
_cols_hint = "`, `".join(df_selected.columns)
277290

0 commit comments

Comments
 (0)