From 206fe31c4a3fdc2a63f66fbb67e09061f5cc3b42 Mon Sep 17 00:00:00 2001 From: rdimaio Date: Wed, 17 Apr 2024 13:50:00 +0200 Subject: [PATCH] Testing: Add type annotations to api/exporter; #6588 --- lib/rucio/gateway/exporter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/rucio/gateway/exporter.py b/lib/rucio/gateway/exporter.py index 5a15daf9a5..2707668d62 100644 --- a/lib/rucio/gateway/exporter.py +++ b/lib/rucio/gateway/exporter.py @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from typing import TYPE_CHECKING +from typing import TYPE_CHECKING, Any from rucio.common import exception from rucio.core import exporter @@ -25,7 +25,7 @@ @read_session -def export_data(issuer, distance=True, vo='def', *, session: "Session"): +def export_data(issuer: str, distance: bool = True, vo: str = 'def', *, session: "Session") -> dict[str, Any]: """ Export data from Rucio.