Skip to content

Conversation

@IvanIsCoding
Copy link
Collaborator

Related to #1345
Follow up of #1348

True diff: IvanIsCoding/rustworkx@class-get-item...IvanIsCoding:rustworkx:pep563-custom-return-types

After #1348 is merged this should be easier to review

@coveralls
Copy link

coveralls commented Jan 1, 2025

Pull Request Test Coverage Report for Build 12818984732

Details

  • 26 of 26 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.006%) to 95.817%

Totals Coverage Status
Change from base Build 12817417491: 0.006%
Covered Lines: 18369
Relevant Lines: 19171

💛 - Coveralls

@IvanIsCoding IvanIsCoding added this to the 0.16.0 milestone Jan 14, 2025
key: &Bound<'_, PyAny>,
) -> PyResult<PyObject> {
let class_string = stringify!($name);
const ALLOWED_GENERIC_CLASSES: [&str; 3] =
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Out of all changes this is the one I am least confident about because it feels like a hack

@IvanIsCoding IvanIsCoding modified the milestones: 0.16.0, 0.17.0 Jan 23, 2025
@IvanIsCoding
Copy link
Collaborator Author

Putting this on-hold again as it could profit from the multiple-pymethods feature from PyO3

@IvanIsCoding IvanIsCoding modified the milestones: 0.17.0, 0.17.1 Jul 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants