Skip to content

Release 0.183.0#2982

Merged
odlbot merged 12 commits into
releasefrom
release-candidate
Apr 14, 2026
Merged

Release 0.183.0#2982
odlbot merged 12 commits into
releasefrom
release-candidate

Conversation

@odlbot
Copy link
Copy Markdown
Contributor

@odlbot odlbot commented Apr 9, 2026

Umar Hassan

renovate[bot]

pre-commit-ci[bot]

renovate Bot and others added 12 commits April 8, 2026 11:53
)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/scop/pre-commit-shfmt: v3.12.0-2 → v3.13.0-1](scop/pre-commit-shfmt@v3.12.0-2...v3.13.0-1)
- [github.com/astral-sh/ruff-pre-commit: v0.14.14 → v0.15.9](astral-sh/ruff-pre-commit@v0.14.14...v0.15.9)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* feat: added celery beat for large number of videos in youtube

* feat: added weekend scheduling and documented command usage

* chore: removed manual batching params and updated docs

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* refactor: updated update_youtube_tags_batch to reduce complexity

* chore: addressed feedback

* chore: spanned retries across the day if quota error

* refactor: added constants, deduplicated methods and added utils

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* feat: handled refrencing_content for captions/transcripts and added tests for navmenu objects

* chore: adde null handling for navmenu

* chore: handled existing caption/transcript files

* chore: addressed feedback from copilot and seer

* chore: replaced hardcoded values with settings
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a new management command and Celery task for asynchronously updating YouTube video tags, with features like API quota management, scheduled processing, and batch fetching of video snippets. It also significantly refactors the handling of WebsiteContent references, particularly for video captions/transcripts and navigation menus, ensuring these relationships are correctly tracked. Additionally, several Python and JavaScript dependencies have been updated. A review comment suggests improving the get_dict_field utility function to handle None values for the initial object to prevent potential AttributeError.

Comment thread websites/utils.py
Comment on lines 52 to 53
return current_obj.get(fields[-1])

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

This is a good improvement to make the function more robust against non-dict intermediate values. However, the function can still raise an AttributeError if the initial obj is None, which is a possible value for WebsiteContent.metadata. A more robust approach would be to check for a falsy obj at the beginning of the function.

@odlbot odlbot merged commit 2992a9f into release Apr 14, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants