pytask-dev / pytask-dev/pytask
ENH: a few design ideas
Chưa có ai nhận issue này.
- 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
ignoremarker.
Currently we havepersist(run if output is missing) andskip(skip the task and everything downstream). Anignoremarker 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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- 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