From 4e0883e61546b2cf3cb7d65557b6cf4efad2855c Mon Sep 17 00:00:00 2001 From: Chad Retz Date: Tue, 7 Nov 2023 12:19:18 -0600 Subject: [PATCH] Set version as 1.4.0 and mark log forwarding as experimental (#418) --- pyproject.toml | 2 +- temporalio/runtime.py | 9 ++++++++- temporalio/service.py | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index be56ad2d..3b440da9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "temporalio" -version = "1.3.0" +version = "1.4.0" description = "Temporal.io Python SDK" license = "MIT" authors = ["Temporal Technologies Inc "] diff --git a/temporalio/runtime.py b/temporalio/runtime.py index 494d9e09..675c1488 100644 --- a/temporalio/runtime.py +++ b/temporalio/runtime.py @@ -118,7 +118,11 @@ class LoggingConfig: forwarding: Optional[LogForwardingConfig] = None """If present, Core logger messages will be forwarded to a Python logger. - See the :py:class:`LogForwardingConfig` docs for more info.""" + See the :py:class:`LogForwardingConfig` docs for more info. + + .. warning:: + This API is experimental + """ default: ClassVar[LoggingConfig] """Default logging configuration of Core WARN level and other ERROR @@ -160,6 +164,9 @@ class LogForwardingConfig: attribute which has arbitrary extra data from Core. By default a string representation of this extra ``fields`` attribute is appended to the message. + + .. warning:: + This API is experimental """ logger: logging.Logger diff --git a/temporalio/service.py b/temporalio/service.py index 1b3c6e0d..e2b1c640 100644 --- a/temporalio/service.py +++ b/temporalio/service.py @@ -25,7 +25,7 @@ import temporalio.exceptions import temporalio.runtime -__version__ = "1.3.0" +__version__ = "1.4.0" ServiceRequest = TypeVar("ServiceRequest", bound=google.protobuf.message.Message) ServiceResponse = TypeVar("ServiceResponse", bound=google.protobuf.message.Message)