Commit d2966ed4 authored by Jan Reimes's avatar Jan Reimes
Browse files

refactor(constants): remove MEETING_CODE_REGISTRY and clean imports

parent b479349d
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -11,7 +11,6 @@ from tdoc_crawler.constants.patterns import (
    TDOC_SUBDIRS,
    TDOC_SUBDIRS_NORMALIZED,
)
from tdoc_crawler.constants.registry import MEETING_CODE_REGISTRY
from tdoc_crawler.constants.urls import (
    LOGIN_URL,
    MEETINGS_BASE_URL,
@@ -27,7 +26,6 @@ __all__ = [
    "EXCLUDED_DIRS_NORMALIZED",
    "LOGIN_URL",
    "MEETINGS_BASE_URL",
    "MEETING_CODE_REGISTRY",
    "PORTAL_BASE_URL",
    "SPEC_URL_TEMPLATE",
    "TDOC_DOWNLOAD_URL",
+0 −39
Original line number Diff line number Diff line
"""Working group registries and code mappings."""

from __future__ import annotations

from typing import Final

MEETING_CODE_REGISTRY: Final[dict[str, list[tuple[str, str | None]]]] = {
    "RAN": [
        ("RP", "RP"),
        ("R1", "R1"),
        ("R2", "R2"),
        ("R3", "R3"),
        ("R4", "R4"),
        ("R5", "R5"),
        ("R6", "R6"),
    ],
    "SA": [
        ("SP", "SP"),
        ("S1", "S1"),
        ("S2", "S2"),
        ("S3", "S3"),
        ("S4", "S4"),
        ("S5", "S5"),
        ("S6", "S6"),
    ],
    "CT": [
        ("CP", "CP"),
        ("C1", "C1"),
        ("C2", "C2"),
        ("C3", "C3"),
        ("C4", "C4"),
        ("C5", "C5"),
        ("C6", "C6"),
    ],
}

__all__ = [
    "MEETING_CODE_REGISTRY",
]