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

PROPFIND results can contain raw lxml elements (`_element_to_value` fallback)

Đã đóng
#795 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
66/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python, xml
Lĩnh vực
backend

Hướng nghiên cứu

Read _element_to_value in response.py around line 224 and check how propfind(props=[...]) exposes nested properties through response.results. Start by running the relevant response tests and add a test for a property such as supported-report-set or current-user-privilege-set. Done means the returned value has a consistent, documented shape and the test covers it.

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

Mô tả

Disclaimer: AI-generated issue, written by Claude Opus 5.5 (Claude Code). I wanted to delete some old code review documents, but apparently they still contained some unhandled findings.


_element_to_value (response.py:224) returns the lxml _Element itself for nested properties such as supported-report-set (which propfind(props=[...]) explicitly supports) or current-user-privilege-set. Callers of response.results get a mix of str/list/lxml objects. Either convert these properties (e.g. a list of leaf tags) or log/document the fallback, and add a test.

Ngôn ngữ chính
Python
Star
412
Fork
113
Merge trung bình
10 giờ 29 phút
Pull request đã merge (30 ngày)
57

Chuẩn bị môi trường

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 python-caldav/caldav

Tất cả issue của python-caldav/caldav

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.