Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Provide stubs/annotations for RecordWrapper

Open
#54 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
backend

Research direction

Start by locating the RecordWrapper definition and review the linked mypy stubs guide. Identify the EPICS record attributes currently exposed there and add declarations for them; done means users can discover the accessible attributes and mypy can infer the values retrieved from the record.

Written by the indexing model from the issue text.

Description

enhancement

Currently there's no way for a user to know what EPICS record attributes are accessible on a RecordWrapper without just trying to get the attribute - and only a small handful are accessible at the moment. This would also help static type checkers such as mypy to better reason about the values retrieved from the record.

A basic introduction to stubs can be found here: https://mypy.readthedocs.io/en/stable/stubs.html

Dominant language
Python
Stars
47
Forks
15
Avg merge
1d 18h
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DiamondLightSource/pythonSoftIOC

All issues in DiamondLightSource/pythonSoftIOC

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.