Amplication AST Libraries Documentation
    Preparing search index...

    Configuration arguments for creating a Python class.

    interface ClassDefArgs {
        name: string;
        moduleName?: string;
        bases?: ClassReference[];
        decorators?: Decorator[];
        docstring?: string;
    }
    Index

    Properties

    name: string

    The name of the class

    moduleName?: string

    The module name containing the class

    bases?: ClassReference[]

    The parent classes to inherit from

    decorators?: Decorator[]

    Decorators to apply to the class

    docstring?: string

    Documentation string for the class