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