Open matthewcarbone opened 1 year ago
Given we're now working on different types of schemas (we have an NMC one, we're developing a FEFF one and I'm hoping to develop more in the future), does it make sense to refactor schemas.py into a module itself? E.g.
schemas.py
schemas/ |---- base.py |---- xas.py |---- nmc.py |---- feff.py |---- ...
Where base.py contains GenericDocument, xas inherits base and the others inherit xas?
base.py
GenericDocument
xas
base
@danielballan @jmaruland thoughts?
Fine by me!
I like this idea. It keeps files simple, as well
Excellent! I'll probably work with Mike a bit on this. Once we have a FEFF schema in place we'll make a new branch dedicated to the refactor.
Given we're now working on different types of schemas (we have an NMC one, we're developing a FEFF one and I'm hoping to develop more in the future), does it make sense to refactor
schemas.py
into a module itself? E.g.Where
base.py
containsGenericDocument
,xas
inheritsbase
and the others inheritxas
?@danielballan @jmaruland thoughts?