Skip to content

Commit

Permalink
Set version as 1.4.0 and mark log forwarding as experimental (#418)
Browse files Browse the repository at this point in the history
  • Loading branch information
cretz authored Nov 7, 2023
1 parent d6646a2 commit 4e0883e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
Expand Down
9 changes: 8 additions & 1 deletion temporalio/runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion temporalio/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4e0883e

Please sign in to comment.