Document `TraitType.read_only`
Đang mở
Phù hợp với người mới
documentation
- Ngôn ngữ chính
- Python
- Star
- 653
- Fork
- 217
- Merge trung bình
- 2 ngày 21 giờ
- Pull request đã merge (30 ngày)
- 2
Mô tả
By searching the repo, I was able to find this description in the changelog:
> Trait attributes initialized with read_only=True can only be set with the set_trait method. Attempts to directly modify a read-only trait attribute raises a TraitError.
This description would be nice to have in docs/docstrings!
Hướng dẫn đóng góp
Hướng nghiên cứu
Search the repository for TraitType.read_only and the changelog description, then inspect the relevant docs or docstrings. Document that read-only trait attributes can only be set with set_trait and that direct modification raises TraitError; done when this behavior is covered where TraitType is documented.
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
- documentation
- Loại issue
- Tài liệu
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 65/100