 (def ->transaction-mode
   "Mapping of keywords to valid Session transaction modes. See
   https://docs.marklogic.com/javadoc/xcc/com/marklogic/xcc/Session.TransactionMode.html"
-  {:auto Session$TransactionMode/AUTO
-   :query Session$TransactionMode/QUERY
-   :update Session$TransactionMode/UPDATE
+  {:auto               Session$TransactionMode/AUTO
+   :query              Session$TransactionMode/QUERY
+   :update             Session$TransactionMode/UPDATE
    :update-auto-commit Session$TransactionMode/UPDATE_AUTO_COMMIT})
 
 


  `:xcc-type` maps to the corresponding
  com.marklogic.xcc.types.ValueType field"
  {:attribute {;; FIXME Causes "Unhandled java.lang.InternalError | Unrecognized valueType: attribute()" if passed as variable :type 
               :ml->clj #(.asString %)
               :clj->xdm identity ;; doesn't seem to be implemented by ValueFactory: "java.lang.InternalError Unrecognized valueType: attribute()"
               :xml-name "attribute()"

  Variables may be passed as a map of Strings or with String names
  corresponding to maps describing the variable using mandatory key
  `:value` and optional keys `:namespace` and `:type`.`

  See https://docs.marklogic.com/javadoc/xcc/com/marklogic/xcc/ModuleSpawn.html"
  ([session module]
   (spawn-module session module {}))
