I'm familiarizing myself with the codebase and cleaning up some type annotations, and I've noticed something off with the write method in the KozaApp class. Whether or not the class validates depends on the presence of the schema attribute in the class instance:
I'm familiarizing myself with the codebase and cleaning up some type annotations, and I've noticed something off with the
write
method in theKozaApp
class. Whether or not the class validates depends on the presence of theschema
attribute in the class instance:https://github.com/monarch-initiative/koza/blob/fceafe5755e222dba14cecf8b7df09ca7dd16831/src/koza/app.py#L151-L154
However, the code that sets that attribute is commented out in the
__init__
method:https://github.com/monarch-initiative/koza/blob/fceafe5755e222dba14cecf8b7df09ca7dd16831/src/koza/app.py#L52-L57
It looks like it was removed in a0ba9cb0. Is it intentional that that block of code in
write()
should never run?