This commit is contained in:
@@ -26,7 +26,7 @@ class StdoutWriter(OutputWriter):
|
||||
|
||||
|
||||
class KVWriter(OutputWriter):
|
||||
def __init__(self, *args, path=None, **kwargs):
|
||||
def __init__(self, path=None, *args, **kwargs):
|
||||
try:
|
||||
os.stat(path)
|
||||
except FileNotFoundError:
|
||||
@@ -42,7 +42,7 @@ class KVWriter(OutputWriter):
|
||||
|
||||
|
||||
class HTTPWriter(OutputWriter):
|
||||
def __init__(self, *args, path=None, **kwargs):
|
||||
def __init__(self, path=None, *args, **kwargs):
|
||||
super(HTTPWriter, self).__init__(*args, **kwargs)
|
||||
self.path = path
|
||||
|
||||
@@ -83,7 +83,7 @@ class KeyedWriterFactory:
|
||||
logg.debug(f"adding key {k} t keyed writer factory")
|
||||
self.x[k] = v
|
||||
|
||||
def new(self, *_args, path=None, **_kwargs):
|
||||
def new(self, path=None, *_args, **_kwargs):
|
||||
writer_keyed = None
|
||||
writer_immutable = None
|
||||
if self.key_writer_constructor is not None:
|
||||
|
||||
Reference in New Issue
Block a user