Audit use/structure of data classes
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
- 25/100
Hướng nghiên cứu
Start by reviewing issues #11 and #32, then audit the data-class usages and the AerieClient methods that expose them. Compare the API and client classes, including to_api_create and from_api_read mappings, against the proposed serialization rules. Done means the class boundaries and usage conventions are codified and the affected usages follow them.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Inspired by the goal of cleaning up the data classes as much as possible (see #11 and #32), we should audit everywhere they're used, everywhere they aren't but should, and how they're structured.
I'm particularly interested in codifying the difference between the "API" and "client" data classes. My current ideas are:
- "API" data classes should contain exclusively serializable data types so that we don't need any custom (de)serialization defined for those classes. They could use default JSON serialization and go straight into the GQL queries.
- Any custom mapping would happen in the "client"
to_api_createandfrom_api_readmethods. - Only "client" data classes would be exposed as input/return types on
AerieClientmethods. "API" data classes are only used behind the scenes. - "API" data classes are then only created/used in cases where we need custom (de)serialization. Otherwise, we can directly use the "client" data class.
- Ngôn ngữ chính
- Python
- Star
- 5
- Fork
- 7
- Merge trung bình
- 3 ngày 14 giờ
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của NASA-AMMOS/plandev-cli
-
Aerie-cli commit hooks failingCó thể làm lại được @colin-lewis-19 đã nhận 329 ngày trước và không có pull request nào đang mở. Đang mở
NASA-AMMOS/plandev-cli#182 · 1 người được giao ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 42/100
NASA-AMMOS/plandev-cli#180 · 1 reaction ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
NASA-AMMOS/plandev-cli#177 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 10/100
NASA-AMMOS/plandev-cli#176 ·
-
Add name to adaptation queriesĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
NASA-AMMOS/plandev-cli#171 ·
Tất cả issue của NASA-AMMOS/plandev-cli
Issue tương tự
-
bug: conversation context selects the oldest thread messages instead of recent repliesCó thể đã có người làm @BLVCK-MAMBA-6 đã nhận hôm nay. Đang mởbug enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
AOSSIE-Org/SkillBot#74 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
bad-antics/lateralus-lang#1438 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area: control app
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
glossyio/traffic-monitor#415 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
apply_matrix_rect takes 6-9% of extract_text timeCó thể đã có người làm @g4lb đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
pdfminer/pdfminer.six#1333 ·
Maintainer thường phản hồi trong vòng 1 ngày