Merge branch '19847-cwl-disk-cache-size' refs #19847
[arvados.git] / sdk / cwl / arvados_cwl / __init__.py
index 550ecba1c100c95df9fc5358564d6bcd4fe9bacc..7818ac84f44e0646e09ebc25c940899ec4240695 100644 (file)
@@ -280,6 +280,7 @@ def add_arv_hints():
         "http://commonwl.org/cwltool#CUDARequirement",
         "http://arvados.org/cwl#UsePreemptible",
         "http://arvados.org/cwl#OutputCollectionProperties",
+        "http://arvados.org/cwl#KeepCacheTypeRequirement",
     ])
 
 def exit_signal_handler(sigcode, frame):
@@ -328,7 +329,9 @@ def main(args=sys.argv[1:],
         if api_client is None:
             api_client = arvados.safeapi.ThreadSafeApiCache(
                 api_params={"model": OrderedJsonModel(), "timeout": arvargs.http_timeout},
-                keep_params={"num_retries": 4})
+                keep_params={"num_retries": 4},
+                version='v1',
+            )
             keep_client = api_client.keep
             # Make an API object now so errors are reported early.
             api_client.users().current().execute()