Skip to content

Commit

Permalink
make mypy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
aquamatthias committed Nov 6, 2024
1 parent a239623 commit 3953c3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fixcore/fixcore/cli/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -2909,7 +2909,7 @@ def to_str(elem: Any) -> str:
.map(extract_values)
.chunks(chunk_size)
.enumerate()
.flatmap(generate_markdown) # type: ignore
.flatmap(generate_markdown)
)

return markdown_chunks
Expand Down Expand Up @@ -3262,7 +3262,7 @@ def load_by_id_merged(
) -> JsStream:
async def load_element(items: JsStream) -> AsyncIterator[JsonElement]:
# collect ids either from json dict or string
ids: List[str] = [i["id"] if is_node(i) else i async for i in items]
ids: List[str] = [i["id"] if is_node(i) else i async for i in items] # type: ignore
# if there is an entry which is not a string, use the list as is (e.g. chunked)
if any(a for a in ids if not isinstance(a, str)):
async for a in items:
Expand Down

0 comments on commit 3953c3b

Please sign in to comment.