Skip to content

DunderMethodDeclaration

A Python dunder method declaration.

import { DunderMethodDeclaration } from "@alloy-js/python";
<DunderMethodDeclaration abstract async />
abstractoptional boolean
asyncoptional booleanIndicates that the function is async.