-
-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement structure style clusters
#509
Conversation
Codecov Report
@@ Coverage Diff @@
## master #509 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 84 86 +2
Lines 7412 7478 +66
Branches 1299 1308 +9
=========================================
+ Hits 7412 7478 +66
Continue to review full report at Codecov.
|
clustered
clusters
I am really excited about this one, first all one of the ugliest parts of the process now has moved into the analyzer process instead of running after the mapping process out of place and secondly this style is the closest thing to one class per file for python |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
This also fixes an issue with the netex collection failing to discover one derived typed 🧨 |
Some schemas out there are simply huge and the generated modules are also huge, making them almost impossible to work with during development but also cause huge load times even when only a small fraction of classes are needed by document type.
Obviously it's impossible in python to go the one class per file way due to circular imports but we can group strongly coupled classes together in an effort to create smaller modules.
Algorithm: http://code.activestate.com/recipes/578507/
Steps: