Beispiel #1
0
    def __init__(self, path, content, encoding, session, *args, **kwargs):
        super(WriteFile, self).__init__(*args, **kwargs)

        self.path = path
        self.content = as_bytes(content)
        self.encoding = encoding
        self.session = session
Beispiel #2
0
    def __init__(self, path, content, encoding, session, *args, **kwargs):
        super(WriteFile, self).__init__(*args, **kwargs)

        self.path = path
        self.content = as_bytes(content)
        self.encoding = encoding
        self.session = session