From decdb5bc379696a2c56967540979d903838df7e5 Mon Sep 17 00:00:00 2001 From: Anil Panta Date: Mon, 25 Nov 2024 15:51:32 -0500 Subject: [PATCH] put quote in optional for session option rucio#6059 --- lib/rucio/core/did_meta_plugins/elasticsearch_meta.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/rucio/core/did_meta_plugins/elasticsearch_meta.py b/lib/rucio/core/did_meta_plugins/elasticsearch_meta.py index 7b2bf9895c..89e1280cf6 100644 --- a/lib/rucio/core/did_meta_plugins/elasticsearch_meta.py +++ b/lib/rucio/core/did_meta_plugins/elasticsearch_meta.py @@ -235,7 +235,7 @@ def list_dids( recursive: bool = False, ignore_dids: Optional[list] = None, *, - session: Optional[Session] = None + session: "Optional[Session]" = None ) -> "Iterator[dict[str, Any]]": """ List DIDs (Data Identifier). @@ -333,7 +333,7 @@ def on_delete( scope: "InternalScope", name: str, archive: bool = False, - session: Optional[Session] = None + session: "Optional[Session]" = None ) -> None: """ Delete a document and optionally archive it. @@ -365,7 +365,7 @@ def get_metadata_archived( self, scope: "InternalScope", name: str, - session: Optional[Session] = None + session: "Optional[Session]" = None ) -> None: """ Retrieve archived metadata for a given scope and name. @@ -390,7 +390,7 @@ def manages_key( self, key: str, *, - session: Optional[Session] = None + session: "Optional[Session]" = None ) -> bool: return True