Closed lukany closed 1 year ago
Blocked by https://github.com/datamole-ai/edvart/pull/119 which unifies interface of .add_...
methods and section __init__()
s
@mbelak-dtml Would you please review this draft? I would like to have the design approved before proceeding with creating more dataclasses.
Hi @lukany,
IMHO introduction of config classes would make the API less user-friendly by adding an extra step in configuring of the sections.
I understand the simplification of the code base by removing duplicate parameters, but IMO this is not a big issue and not worth the added complication for the user.
Additionally, with https://github.com/datamole-ai/edvart/issues/36 (addition of a generic Report.add_section
), we could remove the add_<section>
methods of Report
, removing the duplicated parameters.
Hi @lukany, IMHO introduction of config classes would make the API less user-friendly by adding an extra step in configuring of the sections. I understand the simplification of the code base by removing duplicate parameters, but IMO this is not a big issue and not worth the added complication for the user. Additionally, with #36 (addition of a generic
Report.add_section
), we could remove theadd_<section>
methods ofReport
, removing the duplicated parameters.
Agree. Closing this PR.
BREAKING_CHANGE: TODO
Closes #122