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 | optionalboolean |
children | optionalChildren |
doc | optionalChildren |
name | string |
refkey | optionalRefkey |
type | optionalChildren |