]>
git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/rest/app/util.py
3 from dateutil
import tz
10 return datetime
.datetime
.utcnow().replace(tzinfo
=tz
.tzutc())
13 def memoize(function
):
16 if not hasattr(self
, "_memo"):
19 if args
in self
._memo
:
20 return self
._memo
[args
]