pytask-dev / pytask-dev/pytask

ENH: a few design ideas

Đang mở
#786 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

enhancement
Ngôn ngữ chính
Python
Star
146
Fork
14
Merge trung bình
3 ngày 16 giờ
Pull request đã merge (30 ngày)
34

Mô tả

Some ideas I wanted to share:

  • Add an ignore marker.
    Currently we have persist (run if output is missing) and skip (skip the task and everything downstream). An ignore marker could skip only the task itself while still allowing downstream tasks to run. This could be useful, for example, when dependencies or products were removed via DVC (or similar tools) and the user wants to ensure the task is not re-run.

  • Should the file location be part of the task ID?
    At the moment, a task is re-run if the containing file is moved. An alternative design would ignore such changes if the task content itself did not change.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Review the existing persist and skip marker behavior, then trace how task IDs respond when their containing file moves. Determine the intended semantics and trade-offs for the proposed ignore marker and file-location handling. Done would be an agreed design and documented scope, since the issue names no files or tests.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python
Lĩnh vực
tooling
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
30/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.