-
Notifications
You must be signed in to change notification settings - Fork 198
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
Move main_input
, main_output
, and _extract_content
out of app.py
#1706
Conversation
Args: | ||
func: The main function whose main output we are guessing. | ||
|
||
sig: The signature of the above function. |
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.
I take it the sig
and bindings
was just copied artifacts from main_input
?
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.
@sfc-gh-dkurokawa this was copied from the main_output
function in app.py - https://github.com/truera/trulens/pull/1706/files#diff-a0cb43176f26ebca0d9559a62aa78222738e50a70ac8f79bc3c39f9b12c724c8L839-L841
tests/unit/static/golden/test_otel_instrument__test_instrument_decorator.csv
Outdated
Show resolved
Hide resolved
a52872c
to
788f945
Compare
Description
Moved
main_input
,main_output
, and_extract_content
out of app.py for easier reuseOther details good to know for developers
N/A
Type of change
not work as expected)
Important
Refactored
main_input
,main_output
, and_extract_content
functions tosignature.py
and added tests intest_signature_utils.py
.main_input
,main_output
, and_extract_content
fromapp.py
tosignature.py
for better reusability.test_signature_utils.py
to testmain_input
andmain_output
functions.api.trulens.3.11.yaml
to reflect changes in function locations.This description was created by for 5b6c7be. It will automatically update as commits are pushed.