Skip to content

Commit f7f643e

Browse files
Fix import common
Most types from `common.py` can be obtained directly from `pyyoutube`. But `Thumbnail`, `Topic` and `PageInfo` are only available through `pyyoutube.models.common`. Adding this import fixes this problem.
1 parent 61d0a4d commit f7f643e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyyoutube/models/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
from .channel_section import * # noqa
88
from .comment import * # noqa
99
from .comment_thread import * # noqa
10+
from .common import * # noqa
1011
from .i18n import * # noqa
1112
from .member import * # noqa
1213
from .memberships_level import * # noqa

0 commit comments

Comments
 (0)