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

Overwrite __repr__ methods for MardiEntities #72

Open
4 tasks
eloiferrer opened this issue Jun 8, 2023 · 0 comments
Open
4 tasks

Overwrite __repr__ methods for MardiEntities #72

eloiferrer opened this issue Jun 8, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@eloiferrer
Copy link
Member

New feature description in words:
I find the current implementation of repr in BaseEntity.py confusing to get a quick overview of an entity.
repr should return:

  • English/German label
  • English/German description
  • Key-value pairs for statements and qualifiers if present.

TODOS:

  • Rewrite repr in MardiEntities.py to implement the previous schema.

Checklist for this issue:
(Some checks for making sure this feature request is completely formulated)

  • Participants in discussion have been invited as assignees
  • All fields of the issue have been filled
  • Example fields have been removed
  • The main MaRDI project has been assigned to this issue
@eloiferrer eloiferrer self-assigned this Jun 8, 2023
@eloiferrer eloiferrer added the enhancement New feature or request label Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant