Sender Context

Thread-local storage for sender information.

get_current_sender()[source]

Get the current sender from thread-local storage.

Return type:

str

sender_context(sender)[source]

Context manager to set sender information in thread-local storage.