Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Configuration object / knob

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

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

Đánh giá

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

Hướng nghiên cứu

No files, tests, or entry points are named. Start by mapping how libtmux currently defines defaults and object state, then clarify the configuration API, inheritance and override rules, testing needs, documentation examples, and the criteria for considering the feature complete.

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

Mô tả

Their should be a configuration object

Default / regular usage should never need to use it

But for any implied defaults, their should always be a way to override them. These should be tested and documented, with examples

The configurations should also allow overriding at the object level, in an overlay / patching style. Where the uppermost configuration knows are inherited but can be overridden at a lower level

Similar to pytest fixture overrides, except dealing with a configuration object specifically, rather than tests

image

image

image

image

Though these configuration knobs would make various types of testing easier

And also, the "override" at the object level would be perfect for context managers

Ngôn ngữ chính
Python
Star
1.2k
Fork
127
Merge trung bình
2 giờ 13 phút
Pull request đã merge (30 ngày)
1

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

Mở hướng dẫn đóng góp

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.

Issue khác của tmux-python/libtmux

Tất cả issue của tmux-python/libtmux

Issue tương tự

Thêm issue về Python

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.