def get_expiration(ttl: Optional[int]) -> Optional[datetime]:
        """Gets the expiration date for a key with the given TTL."""
        if ttl is None:
            return None

        return datetime.utcnow() + timedelta(seconds=ttl)
Gets the expiration date for a key with the given TTL.
fiftyone/operators/store/models.py