Projects
home:Eustace:branches:Eulaceura:Factory
python-faust
_service:obs_scm:backport-loghandlers-is-list-o...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:backport-loghandlers-is-list-of-Handler-not-StreamHandler.patch of Package python-faust
From 12ebcf87c858ede721572a6db3fe63bb3addddbf Mon Sep 17 00:00:00 2001 From: Ask Solem <asksol@robinhood.com> Date: Fri, 16 Nov 2018 09:52:22 -0800 Subject: [PATCH] loghandlers is list of Handler not StreamHandler --- faust/types/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/faust/types/settings.py b/faust/types/settings.py index fc2e15e1..0fb0aff8 100644 --- a/faust/types/settings.py +++ b/faust/types/settings.py @@ -265,7 +265,7 @@ class Settings(abc.ABC): table_standby_replicas: int = 1 topic_replication_factor: int = 1 topic_partitions: int = 8 # noqa: E704 - loghandlers: List[logging.StreamHandler] + loghandlers: List[logging.Handler] producer_linger_ms: int = PRODUCER_LINGER_MS producer_max_batch_size: int = PRODUCER_MAX_BATCH_SIZE producer_acks: int = PRODUCER_ACKS @@ -366,7 +366,7 @@ class Settings(abc.ABC): tabledir: Union[Path, str] = None, key_serializer: CodecArg = None, value_serializer: CodecArg = None, - loghandlers: List[logging.StreamHandler] = None, + loghandlers: List[logging.Handler] = None, table_cleanup_interval: Seconds = None, table_standby_replicas: int = None, topic_replication_factor: int = None, -- 2.33.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2