Skip to content

unused parameter and circular import #367

@mircealungu

Description

@mircealungu

zeeguu.core.model.video.find_or_create(...upload_index) is not used. remove it?

also, inside of the method we find this comment:

        # Import here to avoid circular dependency:
        # video -> youtube_api -> util -> compute_fk -> model -> video
        from zeeguu.core.youtube_api.youtube_api import (
            fetch_video_info,
            fetch_channel_info,
        )

this suggests that it should be the code that calls find_or_create that passes the video_info and channel_info

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions