Skip to content
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

chore: remove unused methods #704

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

chore: remove unused methods #704

wants to merge 1 commit into from

Conversation

TeeeJay
Copy link
Collaborator

@TeeeJay TeeeJay commented Nov 18, 2024

unused? avoid using because it is not intuitive? complicates things?

Refs: ECALC-1830

Have you remembered and considered?

  • I have remembered to update documentation
  • I have remembered to update manual changelog (docs/drafts/next.draft.md)
  • I have remembered to update migration guide (docs/docs/migration_guides/)
  • I have committed with BREAKING: in footer or ! in header, if breaking
  • I have added tests (if not, comment why)
  • I have used conventional commits syntax (if you squash, make sure that conventional commit is used)
  • I have included the Jira issue ID somewhere in the commit body (ECALC-XXXX)

Why is this pull request needed?

This pull request is needed because of....

What does this pull request change?

Write summary of what this pull request changes if needed.

Issues related to this change:

unused? avoid using because it is not intuitive? complicates
things?

Refs: ECALC-1830
@TeeeJay TeeeJay requested a review from a team as a code owner November 18, 2024 13:02
key: CSVFormatter(
separation_character="\t", index_formatters=PeriodFormatterConfig.get_row_index_formatters()
).format(val)
for key, val in result.items()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
for key, val in result.items()
for key, val in result.groups

Maybe we should move the loop in groups in here instead, since FilteredResult don't need to know about Formattable. Unnecessary coupling

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm struggling with the directory structure we currently have. Should Formattable be placed in domain, FormattableGroupedQuery in infrastructure etc.? Or should we have a similar structure within presentation.exporter? What is "important" enough to be considered domain. When I think about it I just want to separate interfaces from implementations, so formattable could be in the domain, but it isn't what I think of as the core ecalc domain.....Should Formatter be a completely separate module?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants