v0.2.1 #6
parafoxia
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This release changes the way
Stream
instances are created.There is now a single classmethod,
from_data
, which accepts a video resource, that can be retrieved from the new staticmethods.They are similar to the old classmethods, only really with name changes. Both return the video resource data
from_data
expects:Stream.from_id
->Stream.fetch_stream_data
Stream.from_channel_id
->Stream.fetch_active_stream_data
This is normally done internally so it doesn't matter too much, but it allowed for better testing, and is more consistent with other classes.
This discussion was created from the release v0.2.1.
Beta Was this translation helpful? Give feedback.
All reactions