def increment_counter(obj):
    if obj is not None: # If the object is None, do nothing (it's pointless)
        cache.set(counter_key(obj), int(time.time()), 1*HOUR)
Returns the path to the device inside a Linux VM.
dataset/ETHPy150Open chrisglass/django-rulez/rulez/rolez/cache_helper.py/increment_counter--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/perfkitbenchmarker/disk.py/BaseDisk.GetDevicePath