PropertyDeclaration
Declares a Python property with optional getter, setter, and deleter methods.
import { PropertyDeclaration } from "@alloy-js/python";
<PropertyDeclaration abstract doc={Children} name="string" refkey={Refkey} type={Children}> {children}</PropertyDeclaration>import { PropertyDeclaration } from "@alloy-js/python/stc";
PropertyDeclaration({ abstract: boolean, doc: Children, name: string, refkey: Refkey, type: Children,}).children(children)| abstract | optional boolean | |
| children | optional Children | |
| doc | optional Children | |
| name | string | |
| refkey | optional Refkey | |
| type | optional Children |