Skip to content

Commit

Permalink
Make xray_trace_id an Option
Browse files Browse the repository at this point in the history
  • Loading branch information
unexge committed Dec 9, 2022
1 parent f2f6eb9 commit 05ce2ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust-runtime/aws-smithy-http-server-python/src/lambda.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ pub struct PyLambdaContext {
invoked_function_arn: String,
/// The X-Ray trace ID for the current invocation.
#[pyo3(get)]
xray_trace_id: String,
xray_trace_id: Option<String>,
/// The client context object sent by the AWS mobile SDK. This field is
/// empty unless the function is invoked using an AWS mobile SDK.
#[pyo3(get)]
Expand Down

0 comments on commit 05ce2ba

Please sign in to comment.