Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.
This repository was archived by the owner on Feb 18, 2025. It is now read-only.

soorgeon cut #48

@edublancas

Description

@edublancas

We should add one command to cut existing tasks into smaller pieces so users can take advantage of incremental builds.

soorgeon cut {task-name}

For example, if a user has a pipeline.yaml:

# pipeline.yaml
tasks:
  - source: script.py
     product: report.htm

We could run soorgeon refactor on script.py (but using the Python API directly), and break it into smaller pieces. Then manipulate the pipeline.yaml

# pipeline.yaml
tasks:
  - source: load.py
     product: load.html

  - source: clean.py
     product: clean.html

soorgeon already contains all the necessary elements to perform the refactoring so it's just a matter of experimenting a bit. The idea is that sometimes notebooks grow, so having an easy way to refactor them is great.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions