Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

"Protocol layer" cleanup

Aperta
#664 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
python

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Python
Stelle
412
Fork
113
Merge medio
2g 18h
PR unite (30g)
15

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di python-caldav/caldav

Tutte le issue di python-caldav/caldav

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.