Skip to content

Exclude private payloads from Python exports - #179

Merged
glopesdev merged 1 commit into
harp-tech:mainfrom
glopesdev:private-payload-exports
Nov 12, 2026
Merged

glopesdev merged 1 commit into
harp-tech:mainfrom
glopesdev:private-payload-exports

Conversation

@glopesdev

Copy link
Copy Markdown
Contributor

Payload classes used only by private registers now take the same leading underscore as their register classes, and are left out of __all__ in generated Python interfaces. A payload class shared with a public register stays public and exported.

Closes #178

Payload classes used only by private registers are given a leading
underscore and left out of the __all__ list of generated Python
interfaces. Payload classes shared with a public register stay public.

Closes harp-tech#178
@glopesdev glopesdev added the fix Pull request that fixes an issue label Nov 12, 2026
@glopesdev
glopesdev merged commit 5c7275a into harp-tech:main Nov 12, 2026
9 checks passed
@glopesdev
glopesdev deleted the private-payload-exports branch November 12, 2026 13:46
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.

Payload classes of private registers are exported in the __all__ of generated Python interfaces

1 participant