Skip to content

_REDIRECT_KEY computed at class definition time is fragile #19

Description

@AshayK003

Problem

ArticleIngestor._REDIRECT_KEY in article.py:21 depends on try/except import at module level. If the import changes, the class has stale state.

Solution

Compute the key lazily or use a module-level constant set once correctly.

Difficulty: Easy

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions