Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Easy type hints in synapse.logging.opentracing #12894

Merged
merged 5 commits into from
May 27, 2022

Commits on May 27, 2022

  1. annotate only_if_tracing

    David Robertson committed May 27, 2022
    Configuration menu
    Copy the full SHA
    b8da918 View commit details
    Browse the repository at this point in the history
  2. Use nullcontext; remove noop_context_manager

    The comment says contextlib.nullcontext requires Python 3.6. The docs
    https://docs.python.org/3/library/contextlib.html say 3.7, with
    asynchronous context manager support in 3.10. But AFAICS we only use
    `nullcontext` in place of a `Scope`, and that only acts as a synchronous
    context manager.
    David Robertson committed May 27, 2022
    Configuration menu
    Copy the full SHA
    e6d193a View commit details
    Browse the repository at this point in the history
  3. Batch of easier annotations

    David Robertson committed May 27, 2022
    Configuration menu
    Copy the full SHA
    dda0cc8 View commit details
    Browse the repository at this point in the history
  4. Another batch of annotations

    David Robertson committed May 27, 2022
    Configuration menu
    Copy the full SHA
    e726655 View commit details
    Browse the repository at this point in the history
  5. Changelog

    David Robertson committed May 27, 2022
    Configuration menu
    Copy the full SHA
    b2e31f2 View commit details
    Browse the repository at this point in the history