We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The docstring for end_time in the following sections seems to be wrong, it should be in float but docstring says int
end_time
float
int
aws-xray-sdk-python/aws_xray_sdk/core/models/entity.py
Lines 62 to 76 in 692a439
aws-xray-sdk-python/aws_xray_sdk/core/models/subsegment.py
Lines 130 to 140 in 692a439
aws-xray-sdk-python/aws_xray_sdk/core/context.py
Lines 43 to 57 in 692a439
Lines 73 to 88 in 692a439
And you can find the following code calling the function above using the correct type hint float
aws-xray-sdk-python/aws_xray_sdk/core/recorder.py
Lines 342 to 347 in 692a439
Lines 247 to 254 in 692a439
Verify this issue and Change typehint for end_time in Wrong typehints section from int to float
The text was updated successfully, but these errors were encountered:
@roger-zhangg Thanks for bringing this to our attention. The docstrings have been fixed.
Sorry, something went wrong.
No branches or pull requests
The problem
Wrong typehints
The docstring for
end_time
in the following sections seems to be wrong, it should be infloat
but docstring saysint
aws-xray-sdk-python/aws_xray_sdk/core/models/entity.py
Lines 62 to 76 in 692a439
aws-xray-sdk-python/aws_xray_sdk/core/models/subsegment.py
Lines 130 to 140 in 692a439
aws-xray-sdk-python/aws_xray_sdk/core/context.py
Lines 43 to 57 in 692a439
aws-xray-sdk-python/aws_xray_sdk/core/context.py
Lines 73 to 88 in 692a439
Correct typehints (on top of wrong ones)
And you can find the following code calling the function above using the correct type hint
float
aws-xray-sdk-python/aws_xray_sdk/core/recorder.py
Lines 342 to 347 in 692a439
aws-xray-sdk-python/aws_xray_sdk/core/recorder.py
Lines 247 to 254 in 692a439
Fix
Verify this issue and Change typehint for
end_time
in Wrong typehints section fromint
tofloat
The text was updated successfully, but these errors were encountered: