Bishwas-py / djapy

No bullshit, Django Rest API Framework
https://djapy.io
59 stars 3 forks source link

Do not reparse the data, if actual schema type is returned. #15

Open Bishwas-py opened 4 months ago

Bishwas-py commented 4 months ago

In core/dec.py, line 240, add:

+                if isinstance(response_data, schema_dict_returned):
                    return response_data
Microturbine commented 3 months ago

I am a beginner but would like to make a few modifications as a learning experience. I wrote the numpy function as described. I will send you a pull request so you can take a look if you like.