Provide an add_alias() method to ease alias creation

Đang mở
#42 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

@Araneidae đang làm issue này rồi.

Từ ngày 11/10/2021.

Đánh giá

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

Mô tả

enhancement

Currently a record, inside a RecordWrapper, can have aliases added to it by calling add_alias(). However this is a bit awkward as you have to provide not just the alias'd name but also the device prefix. This often means an application wanting to create aliases has to keep the record prefix accessible everywhere. This is obviously somewhat awkward and could be streamlined by having this logic handled for us in PythonSoftIOC.

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

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

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

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 DiamondLightSource/pythonSoftIOC

Tất cả issue của DiamondLightSource/pythonSoftIOC

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.