DunderMethodDeclaration
A Python dunder method declaration.
import { DunderMethodDeclaration } from "@alloy-js/python";
<DunderMethodDeclaration abstract async />import { DunderMethodDeclaration } from "@alloy-js/python/stc";
DunderMethodDeclaration({ abstract: boolean, async: boolean,}).children(children)| abstract | optionalboolean |
| async | optionalbooleanIndicates that the function is async. |