From 461de6b9b714db276a67c6664992215c5686ebd0 Mon Sep 17 00:00:00 2001 From: mal Date: Mon, 25 Nov 2024 15:04:52 +0100 Subject: [PATCH] Added name parameter on submit function --- grove/outputs/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/grove/outputs/__init__.py b/grove/outputs/__init__.py index 2743783..5e12019 100644 --- a/grove/outputs/__init__.py +++ b/grove/outputs/__init__.py @@ -54,6 +54,7 @@ def submit( part: int = 0, suffix: Optional[str] = None, descriptor: Optional[str] = None, + name: Optional[str] = None, ): """Implements logic require to write collected log data to the given backend. @@ -70,6 +71,8 @@ def submit( :param descriptor: An optional and arbitrary descriptor associated with the log data. This may be used by handlers for construction / specification of file paths, URLs, or database tables. + :param name: Given name of the connector, as specified in the user's custom + configuration. """ pass