Skip to content

refactor: cleanup deadcode EnumDefinitionImpl #395

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

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

Conversation

Silvanoc
Copy link
Contributor

@Silvanoc Silvanoc commented May 20, 2025

Module declaring EnumDefinitionImpl in
linkml_runtime/utils/permissiblevalueimply.py does not appear to be used anywhere.

Additionally EnumDefinitionImpl already has a declaration in linkml_runtime/utils/enumerations.py, which is being used in many places in the code.

Part of refactoring proposed in issue linkml/linkml#2371

Module declaring `EnumDefinitionImpl` in
`linkml_runtime/utils/permissiblevalueimply.py` does not appear to be
used anywhere.

Additionally `EnumDefinitionImpl` already has a declaration in
`linkml_runtime/utils/enumerations.py`, which is being used in many
places in the code.

Signed-off-by: Silvano Cirujano Cuesta <silvano.cirujano-cuesta@siemens.com>
Copy link

codecov bot commented May 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 64.45%. Comparing base (9501812) to head (c21603c).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #395      +/-   ##
==========================================
+ Coverage   63.76%   64.45%   +0.69%     
==========================================
  Files          63       62       -1     
  Lines        8942     8846      -96     
  Branches     2586     2556      -30     
==========================================
  Hits         5702     5702              
+ Misses       2631     2535      -96     
  Partials      609      609              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Silvanoc Silvanoc marked this pull request as ready for review June 5, 2025 09:40
@Silvanoc Silvanoc requested a review from sneakers-the-rat June 5, 2025 09:40
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