This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
funcs = [] | |
for i in range(10): | |
def func(i=i): | |
return i | |
funcs.append(func) | |
print(*(f() for f in funcs)) |
OlderNewer