Syslifters / reptor

Other
11 stars 3 forks source link

Split models.py #38

Closed aronmolnar closed 1 year ago

aronmolnar commented 1 year ago

reptor\api\models.py is too large and should be split in multiple files.

Then, we should also update the docs and add the new models there.

richardschwabe commented 1 year ago

What should the proposed structure look like? Something like:

- api/
- - models/
- - - Sections.py
- - - Findings.py

And Sections.py holds the classes

SectionDataRaw
SectionRaw
SectionDataField
SectionData
Section

Or would we want to have a file for each class?

aronmolnar commented 1 year ago

I'd group it as you proposed.Am 03.08.2023 16:57 schrieb Richard Schwabe @.***>: What should the proposed structure look like? Something like:

And Sections.py holds the classes SectionDataRaw SectionRaw SectionDataField SectionData Section

Or would we want to have a file for each class?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

aronmolnar commented 1 year ago

https://github.com/Syslifters/reptor/pull/62