Move API keys to a `.env` file

Đang mở
#970 0 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 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
45/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python

Hướng nghiên cứu

The issue names config.api.yaml as the file holding the API keys that should move to a .env file. Start by searching the repository for where that file is read, since the payload does not name the loading code. The agent rule that blocks access to .env is not specified, so confirm with maintainers where such rules live before adding one. Done means the keys are read from .env, the YAML no longer stores them, and the agent rule is in place.

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

Mô tả

enhancement
Feature Request

With the repo now setup for agents, we should probably move the API keys (ie. config.api.yaml) to a dedicated .env file, and add a rule so the agent can not access it.

Suggested Solution

No response

Additional Info

No response

Ngôn ngữ chính
Python
Star
154
Fork
58
Merge trung bình
3 ngày 9 giờ
Pull request đã merge (30 ngày)
51

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

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 PyPSA/pypsa-usa

Tất cả issue của PyPSA/pypsa-usa

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.