Nikolay

Results 8 comments of Nikolay

Alternatively, you could override upstream `OAuthService` a little bit so that it fires a special storage event only after it finishes writing all the data to that storage. Something like...

I had a similar issue with 1-M relationship, where the models are also separated into their own files. ``` sqlmodel == 0.0.6 python == 3.9 ``` Not sure if that...

The workaround from @Methodician might be viable in cases when you know the sampling frequency beforehand. However, in more general cases when your data is of various sampling rate it...

@cameroon16, yes. Since `ninja.FilterSchema` inherits from `ninja.Schema` which in turn inherits from `pydantic.BaseModel`, you can leverage the power of Pydantic: ```python CommaToStrList = Annotated[ list[str], BeforeValidator(lambda x: x.split(',')), ] class...

#### Update 1 (good news) Thanks to Pydantic, the validation can be as simple as following (verified in my own projects): ```python from typing import TypeVar, Annotated from pydantic import...

While I'm not sure this is a bug in django-ninja per se (since the generated schema seems correct and that's what matters in the first place), I have found an...

This does not solve your initial problem, but it makes authz code just a little leaner. You could create a function that would perform the authorization you require and raise...

I seem to be having a similar issue with all of my node_modules imports. Here's a minimal repro though: ```scss //theme.scss $primary: gold; @import "~bootstrap/scss/bootstrap"; .golden { color: theme-color('primary'); }...