From a4832cd2591b64d0e6bbf0147a73e072dfcf16af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Peralta=20Lozada?= Date: Sun, 12 Jan 2025 13:46:44 -0600 Subject: [PATCH] fix: add vega-datasets package to framework examples (#3405) --- examples/frameworks/fastapi-github/main.py | 1 + examples/frameworks/fastapi/main.py | 1 + examples/frameworks/fasthtml/main.py | 1 + examples/frameworks/flask/main.py | 1 + 4 files changed, 4 insertions(+) diff --git a/examples/frameworks/fastapi-github/main.py b/examples/frameworks/fastapi-github/main.py index 72c1a8383fa..32778e576ce 100644 --- a/examples/frameworks/fastapi-github/main.py +++ b/examples/frameworks/fastapi-github/main.py @@ -7,6 +7,7 @@ # "requests", # "pydantic", # "jinja2", +# "vega-datasets==0.9.0", # ] # /// import tempfile diff --git a/examples/frameworks/fastapi/main.py b/examples/frameworks/fastapi/main.py index bb016dd401b..6b5d28f0cf2 100644 --- a/examples/frameworks/fastapi/main.py +++ b/examples/frameworks/fastapi/main.py @@ -10,6 +10,7 @@ # "python-multipart", # "passlib", # "pydantic", +# "vega-datasets==0.9.0", # ] # /// from typing import Callable, Coroutine diff --git a/examples/frameworks/fasthtml/main.py b/examples/frameworks/fasthtml/main.py index dc76a8a33a5..bba30f418d3 100644 --- a/examples/frameworks/fasthtml/main.py +++ b/examples/frameworks/fasthtml/main.py @@ -3,6 +3,7 @@ # dependencies = [ # "python-fasthtml", # "marimo", +# "vega-datasets==0.9.0", # ] # /// from fasthtml.common import * diff --git a/examples/frameworks/flask/main.py b/examples/frameworks/flask/main.py index 14c68789dbc..4490cc411ba 100644 --- a/examples/frameworks/flask/main.py +++ b/examples/frameworks/flask/main.py @@ -7,6 +7,7 @@ # "python-dotenv", # "flask-session", # "werkzeug", +# "vega-datasets==0.9.0", # ] # /// from flask import Flask, render_template, request, redirect, url_for, session