AllenNeuralDynamics / AllenNeuralDynamics/aind-metadata-extractor

Consider using the pydantic-settings package

Đang mở
#4 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
0
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

**Is your feature request related to a problem? Please describe.**
The JobSettings class imports both pydantic-settings and argparse

**Describe the solution you'd like**
The latest pydantic_settings.BaseSettings class has a convenient argument parsing functionality. We can also re-think how config files are parsed without the need of setting an explicit field.

**Describe alternatives you've considered**
We can leave things as they are, but the latest version might be easier to maintain long-term.

**Additional context**
Add any other context or screenshots about the feature request here.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

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.