Skip to content

Instantly share code, notes, and snippets.

View rec's full-sized avatar
🥝
coding

Tom Ritchford rec

🥝
coding
View GitHub Profile
from engora.misc import dcommand
from typer import Argument, Option, Typer
from typing import Optional
import pytest
command = Typer().command
@command(help='test')
def a_command(
@rec
rec / funcs.py
Last active April 18, 2025 16:58
funcs = []
for i in range(10):
def func(i=i):
return i
funcs.append(func)
print(*(f() for f in funcs))