Skip to content

Commit

Permalink
improved help message
Browse files Browse the repository at this point in the history
Signed-off-by: Tiago Santana <{ID}+{username}@users.noreply.github.com>
  • Loading branch information
Tiago Santana authored and Tiago Santana committed Feb 24, 2023
1 parent 2ede12c commit e57ff10
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deepsearch/cps/cli/data_indices_typer.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from enum import Enum
from pathlib import Path
from typing import List
from typing import List, Union

import typer

Expand Down Expand Up @@ -152,7 +152,7 @@ def add_attachment(
"usr_attachments",
"-k",
"--attachment_key",
help="Attachment key to put in elastic",
help="Attachment key to put in index item",
),
):
"""
Expand All @@ -164,7 +164,7 @@ def add_attachment(
indices = api.data_indices.list(proj_key)

# get specific index to add attachment
index: DataIndex | None = next(
index: Union[DataIndex, None] = next(
(x for x in indices if x.source.index_key == index_key), None
)

Expand Down

0 comments on commit e57ff10

Please sign in to comment.