fork of hey-api/openapi-ts because I need some additional things
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at feat/use-query-options 18 lines 406 B view raw
1import type { AnalysisContext } from '@hey-api/codegen-core'; 2 3import { py } from '../../py-compiler'; 4import { PyDsl } from '../base'; 5 6const Mixed = PyDsl<py.BreakStatement>; 7 8export class BreakPyDsl extends Mixed { 9 readonly '~dsl' = 'BreakPyDsl'; 10 11 override analyze(_ctx: AnalysisContext): void { 12 super.analyze(_ctx); 13 } 14 15 override toAst() { 16 return py.factory.createBreakStatement(); 17 } 18}