Konstantin Alekseev

Results 32 comments of Konstantin Alekseev

@mkurnikov actually I've started working on TypeDicts for serializer.fields and serializer.data you can check it here https://github.com/kalekseev/djangorestframework-stubs/blob/b4e23ec074fc761b7fe6424c7595619f39cdc001/mypy_drf_plugin/main.py#L30 I was planning to write some kind of rfc but didn't have time...

Let me provide some thoughts from my try to use TypedDict for serializer.data. **Serializer instantiation** 1) On my projects we often override `__init__` in order to tweak fields settings based...

@Goldziher I'm not working on that. I've tested type checked serializer.data on one of my big projects with extensive usage of dynamic fields and I got a feeling that at...

With `@babel/typescript` it's quite simple to setup: ``` babel: { presets: ['@babel/typescript'], }, ... neutrino => { // tsc and tslint checks neutrino.config.plugin('fork-ts-checker').use(ForkTsCheckerWebpackPlugin, [ { checkSyntacticErrors: true, tslint: true, },...

> the thing is should we stick with babel or tsc? as [TypeScript and Babel 7](https://blogs.msdn.microsoft.com/typescript/2018/08/27/typescript-and-babel-7/) point out, there are subtle differences between these two babel-typescript is more flexible, with...

@srgreen00 one variant is to use ts-jest jest preset in .neutrionrc.js (ts related part only): ``` [ '@neutrinojs/jest', { transform: { '^.+\\.tsx?$': 'ts-jest', }, moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json'],...

> > @auvipy rebased > > can we check https://docs.djangoproject.com/en/4.0/ref/models/constraints/ and see if we could cover more test cases/edge cases here? The pr lack of support for *expressions that were...

@auvipy this is in my backlog, unfortunately I'm crushed with work right now, not sure when I'll be able to review it > as we still support django 3.0, so...

`nowfun` argument of `crontab` is not supported in redbeat serialiser https://github.com/sibson/redbeat/blob/main/redbeat/decoder.py#L94-L102