diff options
| author | Scott <[email protected]> | 2022-02-02 10:35:08 -0800 |
|---|---|---|
| committer | Scott <[email protected]> | 2022-02-02 10:35:08 -0800 |
| commit | 1ce11b3c28d175b6dcbfea9cf6367081f049c5a9 (patch) | |
| tree | 70b7a32d36f140583dc7fea24c6bf2cd752571b9 /persistent.py | |
| parent | a4bf4d05230474ad14243d67ac7f8c938f670e58 (diff) | |
Fix a problem introduced with previous type cleanup change.
Diffstat (limited to 'persistent.py')
| -rw-r--r-- | persistent.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/persistent.py b/persistent.py index 7136559..1e520be 100644 --- a/persistent.py +++ b/persistent.py @@ -128,6 +128,7 @@ class persistent_autoloaded_singleton(object): self.instance = None def __call__(self, cls: Persistent): + @functools.wraps(cls) # type: ignore def _load(*args, **kwargs): # If class has already been loaded, act like a singleton |
