Skip to content

Conversation

@elkal98
Copy link

@elkal98 elkal98 commented Oct 19, 2025

Hi, I'm getting the below error:

src/scriptworker_client/github_client.py:176: error: Incompatible types in assignment (expression has type "None", target has type "Union[str, dict[str, Optional[str]]]") [assignment]

I think its happening when I set ret[name] = None. I tried to change the return type to include None, but that ended up creating errors in other places that use this function indirectly. So, can you please let me know how to resolve this or if I need to do any other changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant