I hereby claim:
- I am imbolc on github.
- I am imbolc (https://keybase.io/imbolc) on keybase.
- I have a public key ASCm5CHgFY1EKuPBDsM6EiRk_E4K_gCyigotWFgtEICo9Ao
To claim this, I am signing this object:
| {#each menu as flavour} | |
| <Flavour {flavour}/> | |
| {/each} | |
| <script> | |
| import Flavour from "./Flavour.svelte" | |
| let menu = [ | |
| 'Cookies and cream', | |
| 'Mint choc chip', | |
| 'Raspberry ripple' |
I hereby claim:
To claim this, I am signing this object:
| from starlette.applications import Starlette | |
| from starlette.routing import Route | |
| from starlette.responses import PlainTextResponse | |
| import httpx | |
| import aiohttp | |
| HOST, PORT = "localhost", 8000 | |
| URL = f"http://{HOST}:{PORT}/" |
Flake8 complains with 4:5: F401 'pydantic' imported but unused about this code:
from typing import TYPE_CHECKING, Optional, Type
if TYPE_CHECKING:
import pydantic
def f(*, model: Optional[Type["pydantic.BaseModel"]] = None):
pass| from flask import Flask, jsonify | |
| app = Flask(__name__) | |
| @app.route("/") | |
| def hello_world(): | |
| return jsonify(hello="world") | |
| anyhow = "1" | |
| log = "0.4" | |
| tracing = { git = "https://github.com/tokio-rs/tracing", rev = "f81426b" } | |
| tracing-subscriber = { git = "https://github.com/tokio-rs/tracing", rev = "f81426b" } | |
| tracing-journald = { git = "https://github.com/tokio-rs/tracing", rev = "f81426b" } |
| use serde::{de::DeserializeOwned, Deserialize, Serialize}; | |
| use std::fmt::Debug; | |
| use std::marker::PhantomData; | |
| use std::sync::Arc; | |
| struct JobRegistry<J, C> { | |
| jobs: PhantomData<J>, | |
| context: Arc<C>, | |
| } |
| /** | |
| * This is an updated 1.0.1 version | |
| * | |
| * Changes: `template:lorem` became `hx-template#lorem` | |
| * | |
| * === Original description: | |
| * | |
| * HTMX Template Extension | |
| * by Katrina Scialdone (https://github.com/katrinakitten) | |
| * |