How to use the omniduct.utils.magics.process_line_arguments function in omniduct

To help you get started, we’ve selected a few omniduct examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github airbnb / omniduct / omniduct / databases / base.py View on Github external
        @process_line_arguments
        def template_add(body, name):
            self.template_add(name, body)
github airbnb / omniduct / omniduct / filesystems / base.py View on Github external
        @process_line_arguments
        def showdir(path=''):
            return self.showdir(path)
github airbnb / omniduct / omniduct / filesystems / base.py View on Github external
        @process_line_arguments
        def listdir(path=''):
            return self.listdir(path)
github airbnb / omniduct / omniduct / filesystems / base.py View on Github external
        @process_line_arguments
        def write_file(cell, path):
            with self.open(path, 'w') as f:
                f.write(cell)
github airbnb / omniduct / omniduct / databases / base.py View on Github external
        @process_line_arguments
        def table_head(table_name, **kwargs):
            return self.table_head(table_name, **kwargs)
github airbnb / omniduct / omniduct / databases / base.py View on Github external
        @process_line_arguments
        def table_desc(table_name, **kwargs):
            return self.table_desc(table_name, **kwargs)
github airbnb / omniduct / omniduct / filesystems / base.py View on Github external
        @process_line_arguments
        def read_file(path):
            with self.open(path) as f:
                return f.read()
github airbnb / omniduct / omniduct / databases / base.py View on Github external
        @process_line_arguments
        def table_props(table_name, **kwargs):
            return self.table_props(table_name, **kwargs)