Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Ignore type check for Mypy error #341

Merged
merged 8 commits into from
Jan 13, 2025
Merged

Conversation

Satish615
Copy link
Contributor

Issue #, if available:

src/fmeval/reporting/eval_output_cells.py:347:41: error: Argument 1 to "ScoreTableCell" has incompatible type "Dataset | None"; expected "Dataset" [arg-type]

Description of changes:

ScoreTableCell is receiving a parameter with Optional null value. Eventhough we use if statement to only process the call when dataset is not null. Mypy throws the above error.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@Satish615 Satish615 merged commit 44c51d4 into aws:main Jan 13, 2025
5 checks passed
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.

3 participants