Source code for harp_apps.storage.constants

from enum import Enum


[docs] class TimeBucket(Enum): YEAR = "year" MONTH = "month" WEEK = "week" DAY = "day" HOUR = "hour" MINUTE = "minute"
# Transaction markers that control storage behavior SKIP_STORAGE = "skip-storage" SKIP_REQUEST_STORAGE = "skip-request-storage" SKIP_RESPONSE_STORAGE = "skip-response-storage" SKIP_REQUEST_BODY_STORAGE = "skip-request-body-storage" SKIP_RESPONSE_BODY_STORAGE = "skip-response-body-storage" SKIP_REQUEST_HEADERS_STORAGE = "skip-request-headers-storage" SKIP_RESPONSE_HEADERS_STORAGE = "skip-response-headers-storage"