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

Fix typing for kwargs parameter in create_metric_fn #503

Merged
merged 1 commit into from
Nov 13, 2023

Conversation

amrit110
Copy link
Member

PR Type ([Feature | Fix | Documentation | Test])

Fix

Short Description

The type hint of kwargs is the expected type of the value in the key-value pair (https://stackoverflow.com/questions/37031928/type-annotations-for-args-and-kwargs)

Tests Added

...

@amrit110 amrit110 added the code style Fixes to adhere to repo's coding style label Nov 13, 2023
Copy link

codecov bot commented Nov 13, 2023

Codecov Report

Merging #503 (033eb7d) into main (5facc0f) will not change coverage.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #503   +/-   ##
=======================================
  Coverage   62.30%   62.30%           
=======================================
  Files          87       87           
  Lines        8454     8454           
=======================================
  Hits         5267     5267           
  Misses       3187     3187           
Files Coverage Δ
cyclops/evaluate/metrics/factory.py 33.33% <100.00%> (ø)

Impacted file tree graph

@amrit110 amrit110 merged commit d59d1cc into main Nov 13, 2023
9 checks passed
@amrit110 amrit110 deleted the fix_typing_create_metric branch November 13, 2023 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code style Fixes to adhere to repo's coding style
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants