From 023e9659dbc54f511a4492df1eabc8c990984a02 Mon Sep 17 00:00:00 2001 From: Stephan Seitz <stephan.seitz@fau.de> Date: Tue, 14 Jan 2020 10:36:46 +0100 Subject: [PATCH] Add type annotation for DataHandling.add_arrays --- pystencils/datahandling/datahandling_interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pystencils/datahandling/datahandling_interface.py b/pystencils/datahandling/datahandling_interface.py index e055e9ea8..84e31d365 100644 --- a/pystencils/datahandling/datahandling_interface.py +++ b/pystencils/datahandling/datahandling_interface.py @@ -62,7 +62,7 @@ class DataHandling(ABC): pystencils field, that can be used to formulate symbolic kernels """ - def add_arrays(self, description: str): + def add_arrays(self, description: str) -> Tuple[Field]: """Adds multiple arrays using a string description similar to :func:`pystencils.fields` -- GitLab