             [compojure.api.middleware :as c-mw]
             [compojure.api.sweet :as c-api]
             [compojure.core :refer [ANY GET POST routes]]
+            [cook.cached-queries :as cached-queries]
             [cook.compute-cluster :as cc]
             [cook.config :as config]
             [cook.datomic :as datomic]

                        {JobResponseDeprecated (partial pc/map-keys ->snake_case)
                         JobResponse (partial pc/map-keys ->snake_case)
                         GroupResponse (partial pc/map-keys ->snake_case)
                         UserUsageResponse (partial pc/map-keys ->snake_case)
                         UserUsageInPool (partial pc/map-keys ->snake_case)
                         UsageGroupInfo (partial pc/map-keys ->snake_case)


(def UserUsageParams
  "User usage endpoint query string parameters"
  {(s/optional-key :user) s/Str
   (s/optional-key :group_breakdown) s/Bool})

(def UsageInfo
  "Schema for a dictionary of job resource usage info."
