Skip to content

Conversation

Pouyanpi
Copy link
Collaborator

@Pouyanpi Pouyanpi commented Oct 17, 2025

Updates abstract method implementations in CacheInterface to use ellipsis (...) instead of pass, following modern Python conventions for abstract method stubs.

Part of Stack

This is PR 1/5 in the NeMoGuards caching feature stack.

@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Updates abstract method implementations in CacheInterface to use
ellipsis (...) instead of pass, following modern Python conventions for
abstract method stubs.
@Pouyanpi Pouyanpi force-pushed the feat/cache-interface-cleanup branch from 053cd1c to cb827ae Compare October 17, 2025 10:38
@Pouyanpi
Copy link
Collaborator Author

this change brings coverage to 100% from 87% (see #1436 (comment))

@Pouyanpi Pouyanpi added this to the v0.18.0 milestone Oct 17, 2025
@Pouyanpi Pouyanpi self-assigned this Oct 17, 2025
Copy link
Collaborator

@tgasser-nv tgasser-nv left a comment

Choose a reason for hiding this comment

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

Looks good, definitely prefer ... to pass. We could also use raise a NotImplementedError but this is fine

@Pouyanpi Pouyanpi merged commit a52998f into develop Oct 17, 2025
7 checks passed
@Pouyanpi Pouyanpi deleted the feat/cache-interface-cleanup branch October 17, 2025 14:47
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.

3 participants