Create a uniform way to initialize module level loggers, add auto-logging for managers creation/deletion etc.

Đang mở
#112 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ó
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
20/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
tooling

Hướng nghiên cứu

Read the issue’s examples of logger creation, manager lifecycle logs, and configuration handling to understand the proposed scope. The payload names no files, tests, or entry points, so first locate these patterns in the repository and assess whether a shared cavise class with decorators and runtime checks can cover them. Done would require agreeing on the design and its scope before implementation.

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

Mô tả

good first issue logging

We have a lot of common code around this repo, especially:

  1. loggers' creation in a form logger = ..., that ideally should be bound to classes, not modules.
  2. common logs, like "X was created, Y was removed" - that may be automatically generated via code wrappers (decorators)
  3. here I'd also mention configs - we have dicts with random filling, they are modified there, keys are extracted and joined elsewhere... The situation has become better since we started running static typing with TypedDicts, but runtime validations may be welcomed as common code, too. (also OmegaConf may be gone, if such code as ever to be introduced)

My proposition here is developing a cavise class with decorators, like SimObject for example, to fix those issues. That module may also provide configuration helpers and runtime checks for data.

Ngôn ngữ chính
Python
Star
11
Fork
11
Merge trung bình
1 ngày 16 giờ
Pull request đã merge (30 ngày)
12

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 CAVISE/OpenCDA

Tất cả issue của CAVISE/OpenCDA

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.