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 | optional boolean | |
| async | optional boolean | Indicates that the function is async. |