Skip to content

Commit c043100

Browse files
committed
test
1 parent d2bd941 commit c043100

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

datalayer_core/sdk/decorators.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ def _process_args_kwargs_mapping(
4949
def _process_inputs(
5050
func: Callable[..., Any],
5151
inputs_decorated: Optional[list[str]],
52-
variables: dict[str, Any],
5352
) -> tuple[dict[str, Any], list[str]]:
53+
variables = {}
5454
sig = inspect.signature(func)
5555
if inputs_decorated is None:
5656
inputs = []
@@ -117,7 +117,6 @@ def datalayer(
117117
... def example(x: float, y: float) -> float:
118118
... return x + y
119119
"""
120-
variables = {}
121120
inputs_decorated = inputs
122121
output_decorated = output
123122
snapshot_name_decorated = snapshot_name
@@ -147,7 +146,7 @@ def decorator(func: Callable[..., Any]) -> Callable[..., Any]:
147146
output = f"DATALAYER_RUNTIME_OUTPUT_{func.__name__}".upper()
148147

149148
variables, inputs = _process_inputs(
150-
func=func, inputs_decorated=inputs_decorated, variables=variables
149+
func=func, inputs_decorated=inputs_decorated,
151150
)
152151

153152
@functools.wraps(func)

0 commit comments

Comments
 (0)