Modelina
    Preparing search index...

    Interface PythonOptions

    interface PythonOptions {
        constraints: Constraints<PythonOptions>;
        defaultPreset?: Partial<
            { class: ClassPresetType<any>; enum: EnumPresetType<any> },
        >;
        dependencyManager?:
            | PythonDependencyManager
            | (() => PythonDependencyManager);
        indentation?: { size: number; type: IndentationTypes };
        presets?: Presets<
            Partial<{ class: ClassPresetType<any>; enum: EnumPresetType<any> }>,
        >;
        processorOptions?: ProcessorOptions;
        typeMapping: TypeMapping<PythonOptions, PythonDependencyManager>;
    }

    Hierarchy (View Summary)

    Index

    Properties

    defaultPreset?: Partial<
        { class: ClassPresetType<any>; enum: EnumPresetType<any> },
    >
    dependencyManager?: PythonDependencyManager | (() => PythonDependencyManager)

    This dependency manager type serves two functions.

    1. It can be used to provide a factory for generate functions
    2. It can be used to provide a single instance of a dependency manager, to add all dependencies together

    This depends on context and where it's used.

    indentation?: { size: number; type: IndentationTypes }
    presets?: Presets<
        Partial<{ class: ClassPresetType<any>; enum: EnumPresetType<any> }>,
    >
    processorOptions?: ProcessorOptions
    typeMapping: TypeMapping<PythonOptions, PythonDependencyManager>