From c73a371b233af97c77437bef20276f2872006da0 Mon Sep 17 00:00:00 2001 From: jesko Date: Tue, 22 Oct 2024 10:45:20 +0200 Subject: [PATCH] allow access to variables with shorter handler --- refinery/lib/argformats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/refinery/lib/argformats.py b/refinery/lib/argformats.py index 85069fdedb..cfeb9e43cd 100644 --- a/refinery/lib/argformats.py +++ b/refinery/lib/argformats.py @@ -958,7 +958,7 @@ def _interpret_variable(self, name: str, obj: Any): return obj raise ArgumentTypeError(F'The meta variable {name} is of type {type(obj).__name__} and no conversion is known.') - @handler.register('var', final=True) + @handler.register('?', 'var', final=True) def var(self, name: str) -> bytes: """ The final handler `var:name` contains the value of the meta variable `name`.