chore: migrate to mediavocab 1.0#10
Conversation
- bump pin: mediavocab>=1.0.0
- rename PlaybackModality → PlaybackType, infer_modality →
infer_playback_type, Signals.modality / provider ClassVar →
playback_type
- adapt to 1.0 API tightenings where present: Work.extra /
Entity.extra now Dict[str, str]; Entity(ORGANISATION) requires
org_kind; Work country split into production_country /
publication_country / broadcaster_country; Release.variant_kind
removed (Work-only); VariantKind.{REGIONAL,DELUXE,BOOTLEG,…} moved
to ReleasePackaging; Stream.media_type → Stream.kind; programme
formats (news / talk_show / sports / documentary / concert) no
longer in genre constants — use literal strings or ProgrammeFormat.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
I've processed your PR. Here's what the automation found! ⚙️I've aggregated the results of the automated checks for this PR below. 🔍 LintChecking if there's anything else we need to do. 📋 ❌ ruff: issues found — see job log ⚖️ License CheckEnsuring our licenses are consistent and clear. 📄 ❌ License violations detected (42 packages) — review required before merging. License distribution: 11× MIT, 11× MIT License, 7× Apache-2.0, 3× BSD-3-Clause, 2× Apache Software License, 2× BSD License, 1× Apache-2.0 OR BSD-2-Clause, 1× BSD-2-Clause, +4 more Full breakdown — 42 packages
Policy: Apache 2.0 (universal donor). StrongCopyleft / NetworkCopyleft / WeakCopyleft / Other / Error categories fail. MPL allowed. 🔒 Security (pip-audit)Checking for any insecure data transmissions. 📡 ✅ No known vulnerabilities found (60 packages scanned). 📋 Repo HealthEnsuring the repo isn't allergic to new features. 🤧 Latest Version: ✅ 🔨 Build TestsTesting the load-bearing capacity of your changes. 🏋️
❌ 3.10: Install OK, tests failed May your merges be conflict-free! 🕊️ |
Summary
mediavocab>=1.0.0pinPlaybackModality→PlaybackType,infer_modality→infer_playback_type,Signals.modality→Signals.playback_type, providermodalityClassVar →playback_type)Work.extra/Entity.extranowDict[str, str];Entity(ORGANISATION)requiresorg_kind;Work.countrysplit intoproduction_country/publication_country/broadcaster_country;Release.variant_kindremoved (Work-only);VariantKind.{REGIONAL,DELUXE,BOOTLEG,…}moved toReleasePackaging;Stream.media_type→Stream.kind; programme-format genre constants removed — use literal strings orProgrammeFormat.Test plan
pytest -x -qpasses locally against mediavocab 1.0.0🤖 Generated with Claude Code