Add type hints and keyword-only arguments for GenerationSynchronizer.

Review Request #13988 — Created June 19, 2024 and submitted — Latest diff uploaded

Information

Djblets
release-5.x

Reviewers

This is a simple change that adds type hints to
GenerationSynchronizer, helping ensure internal and consumer logic
doesn't experience any type errors.

The constructor now takes normalize_cache_key as a keyword-only
argument.

Unit tests pass.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Add type hints and keyword-only arguments for GenerationSynchronizer.
This is a simple change that adds type hints to `GenerationSynchronizer`, helping ensure internal and consumer logic doesn't experience any type errors. The constructor now takes ``normalize_cache_key`` as a keyword-only argument.
4a12365dfef3aa53536ba41fcb6971bc9f17f11b Christian Hammond
djblets/cache/synchronizer.py
Loading...