From 8949dd62fa93b2b041de239dbac36db3b8042430 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 4 Apr 2023 12:10:07 +0100 Subject: [PATCH] Update aws-xray-sdk to 2.12.* (#10005) Release: https://pypi.org/pypi/aws-xray-sdk/2.12.0 Homepage: https://github.com/aws/aws-xray-sdk-python Diff: https://github.com/aws/aws-xray-sdk-python/compare/2.11.0...2.12.0 Stubsabot analysis of the diff between the two releases: - 0 public Python files have been added. - 0 files included in typeshed's stubs have been deleted. - 5 files included in typeshed's stubs have been modified or renamed: `aws_xray_sdk/core/async_recorder.py`, `aws_xray_sdk/core/context.py`, `aws_xray_sdk/core/patcher.py`, `aws_xray_sdk/core/recorder.py`, `aws_xray_sdk/version.py`. - Total lines of Python code added: 148. - Total lines of Python code deleted: 132. Co-authored-by: AlexWaygood --- stubs/aws-xray-sdk/METADATA.toml | 2 +- stubs/aws-xray-sdk/aws_xray_sdk/core/context.pyi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stubs/aws-xray-sdk/METADATA.toml b/stubs/aws-xray-sdk/METADATA.toml index d4db0c1ac..4a08bb074 100644 --- a/stubs/aws-xray-sdk/METADATA.toml +++ b/stubs/aws-xray-sdk/METADATA.toml @@ -1,4 +1,4 @@ -version = "2.11.*" +version = "2.12.*" [tool.stubtest] ignore_missing_stub = true diff --git a/stubs/aws-xray-sdk/aws_xray_sdk/core/context.pyi b/stubs/aws-xray-sdk/aws_xray_sdk/core/context.pyi index ed110d21e..d5f0806b6 100644 --- a/stubs/aws-xray-sdk/aws_xray_sdk/core/context.pyi +++ b/stubs/aws-xray-sdk/aws_xray_sdk/core/context.pyi @@ -15,7 +15,7 @@ MISSING_SEGMENT_MSG: str CXT_MISSING_STRATEGY_KEY: str class Context: - def __init__(self, context_missing: str = "RUNTIME_ERROR") -> None: ... + def __init__(self, context_missing: str = "LOG_ERROR") -> None: ... def put_segment(self, segment: Segment) -> None: ... def end_segment(self, end_time: time.struct_time | None = None) -> None: ... def put_subsegment(self, subsegment: Subsegment) -> None: ...