Skip to content

Investigate/replace GlobalParserTLS thread local #256

Description

@ormsbee

Ensure this is async-safe:

class GlobalParserTLS(threading.local):
"""Thread local context for custom parser instances"""
parser_config = {
"resolve_entities": False,
}
element_class = RestrictedElement

Because we're in a transitional state, this overlaps with the equivalent code that's still in openedx/openedx-platform#38698

Metadata

Metadata

Assignees

No one assigned

    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