Skip to content

Exclude private registers from Python exports - #174

Merged
glopesdev merged 1 commit into
harp-tech:mainfrom
glopesdev:exclude-private-registers
Nov 3, 2026
Merged

glopesdev merged 1 commit into
harp-tech:mainfrom
glopesdev:exclude-private-registers

Conversation

@glopesdev

Copy link
Copy Markdown
Contributor

Generated Python interfaces now list only public registers in __all__. The classes of private registers and their entries in REGISTER_MAP are unchanged, so messages from those addresses can still be parsed.

MetadataSerializer now writes register visibility in lower case, as the draft-02 schema requires.

Closes #173

The __all__ list of generated Python interfaces now includes only
public registers. Private register classes and their REGISTER_MAP
entries are unchanged.

Register visibility is also serialized in lower case, as the schema
requires.
@glopesdev glopesdev added the fix Pull request that fixes an issue label Nov 3, 2026
@glopesdev
glopesdev merged commit fe25d9c into harp-tech:main Nov 3, 2026
9 checks passed
@glopesdev
glopesdev deleted the exclude-private-registers branch November 3, 2026 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Pull request that fixes an issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Private registers are exported in the __all__ of generated Python interfaces

1 participant