Skip to content

ClassMethodDeclaration

A Python class method declaration component.

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