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

"Protocol layer" cleanup

Đang mở
#664 1 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
python
Lĩnh vực
backend-api-design

Hướng nghiên cứu

Read the functions under caldav/protocol/xml*.py alongside the Response class to map where XML parsing currently happens and where the implementations overlap. Decide how parsing should be organized, then deduplicate it so XML parsing happens in one place; verify the affected response and protocol behavior with the relevant tests.

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

Mô tả

As part of the "async sans-I/O-pattern", claude made a "protocol layer", bare functions under caldav/protocol/xml*.py

However, we still have XML parsing logic in the Response class - and now we even have some overlapping code.

Does it make sense to have the "protocol layer"? Could we not have the response class do all the xml parsing?

In any case, the duplicated code should be deduplicated and XML parsing should be done one and only one place.

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

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.