@re-shell/cli
Version:
Full-stack development platform uniting microservices and microfrontends. Build complete applications with .NET (ASP.NET Core Web API, Minimal API), Java (Spring Boot, Quarkus, Micronaut, Vert.x), Rust (Actix-Web, Warp, Rocket, Axum), Python (FastAPI, Dja
26 lines (25 loc) • 890 B
TypeScript
/**
* Comprehensive Type Hints Generator for Python Framework Templates
* Provides modern typing annotations for FastAPI, Django, Flask, Tornado, and Sanic
*/
export interface PythonTypeHintsConfig {
framework: string;
pythonVersion: string;
strictMode: boolean;
enableDataclasses: boolean;
enablePydantic: boolean;
enableProtocols: boolean;
enableGenericAliases: boolean;
}
export declare class PythonTypeHintsGenerator {
generateTypeHintsConfig(framework: string): PythonTypeHintsConfig;
generateBaseTypes(): string;
generateFastAPITypes(): string;
generateDjangoTypes(): string;
generateFlaskTypes(): string;
generateTornadoTypes(): string;
generateSanicTypes(): string;
generatePyprojectTomlTypes(): string;
generateValidationScript(): string;
}
export declare const pythonTypeHintsGenerator: PythonTypeHintsGenerator;