Skip to content

Internal Typing File for Type Aliases #2052

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

Closed
wants to merge 5 commits into from
Closed

Internal Typing File for Type Aliases #2052

wants to merge 5 commits into from

Conversation

GameDungeon
Copy link
Contributor

@GameDungeon GameDungeon commented Sep 17, 2021

Overview: What does this pull request change?

Adds internal typing type aliases
Depreciates capture_mobject

We have a lot of complex and heavily repeated type names. This pull request proposes to merge them into importable type aliases with simple, but helpful, names.

I also deprecated capture_mobject as it came to my attention during this pull and proved unnecessary.

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

@GameDungeon GameDungeon changed the title changes Internal Typing File for Type Aliases Sep 17, 2021
@naveen521kk
Copy link
Member

I also deprecated capture_mobject as it came to my attention during this pull and proved unnecessary.

Create a new PR, don't mix stuff because it becomes hard while reviewing. Can you remove that change from this PR?

@@ -368,7 +369,7 @@ def get_run_time(self) -> float:

def set_rate_func(
self,
rate_func: Callable[[float], float],
rate_func: "rate_function",
Copy link
Member

@Darylgolden Darylgolden Nov 28, 2021

Choose a reason for hiding this comment

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

Should this be in quotes?

@GameDungeon GameDungeon deleted the internal_types branch December 31, 2021 00:52
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