Skip to content

Commit

Permalink
put quote in optional for session option rucio#6059
Browse files Browse the repository at this point in the history
  • Loading branch information
panta-123 committed Nov 25, 2024
1 parent 32c50da commit decdb5b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/rucio/core/did_meta_plugins/elasticsearch_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand All @@ -390,7 +390,7 @@ def manages_key(
self,
key: str,
*,
session: Optional[Session] = None
session: "Optional[Session]" = None
) -> bool:
return True

Expand Down

0 comments on commit decdb5b

Please sign in to comment.