Skip to content

Conversation

fmuenkel
Copy link
Contributor

Overview: What does this pull request change?

Progress towards completing #3375.
Some of type annotations are already implemented in #4393.

Reviewer Checklist

  • The PR title is descriptive enough for the changelog, and the PR is labeled correctly
  • If applicable: newly added non-private functions and classes have a docstring including a short summary and a PARAMETERS section
  • If applicable: newly added functions and classes are tested

@@ -233,60 +234,68 @@
# Serialize it with only the type of the object. You can change this to whatever string when debugging the serialization process.
return str(type(obj))

def _cleaned_iterable(self, iterable: Iterable[Any]):
@overload
def _cleaned_iterable(self, iterable: dict[Any, Any]) -> dict[Any, Any]: ...

Check notice

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.
def _cleaned_iterable(self, iterable: dict[Any, Any]) -> dict[Any, Any]: ...

@overload
def _cleaned_iterable(self, iterable: Sequence) -> list[Any]: ...

Check notice

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 New
Development

Successfully merging this pull request may close these issues.

1 participant