Skip to content

DunderMethodDeclaration

A Python dunder method declaration.

import { DunderMethodDeclaration } from "@alloy-js/python";
<DunderMethodDeclaration abstract async />
abstractoptionalboolean
asyncoptionalboolean

Indicates that the function is async.