-
Notifications
You must be signed in to change notification settings - Fork 84
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 attachments to evaluate #1237
Conversation
need to add to summary evaluators as well I think |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need to inspect the evaluator signature ahead of time so that if user passes in just a dataset name/id, we know if we need to load attachments?
inspect.signature( | ||
e.__call__ if hasattr(e, "__call__") else e | ||
).parameters.values() | ||
if callable(e) or hasattr(e, "__call__") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ooc what kinds of objects have __call__
but aren't callable?
No description provided.