-
Notifications
You must be signed in to change notification settings - Fork 55
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
Deprecate filter #70
base: master
Are you sure you want to change the base?
Deprecate filter #70
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll take a look at your branch mypy results
youtube.streams.filter(progressive=False, subtype="mp4") | ||
.order_by("resolution") | ||
.last() | ||
youtube.streams.is_adaptive().subtype("mp4").order_by("resolution").last() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks so good 🙌
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haha ikr!
""" | ||
return self.fmt_streams | ||
|
||
@deprecated("Replaced by new individual methods") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Ok... here's how I see the mypy issues:
|
Still getting a lot of errors in pytest. Will work through these now. |
Got it down to 2 failures in |
Looks like all tests are passing! woo! Not sure we have to get to all the deprecation warnings cleaned up now... would be great to find a way to automate replacing them 😅 |
Ooohh nice one. I'll go through all these tests, I'm sure they will help a lot. |
Just learned about |
Ran make test, still getting a hell of a lot of errors in mypy. Will fix but let me know what you think so far anyway.