Skip to content

feat(pyi): Export Observation3P and add docstrings - #177

Merged
smly merged 1 commit into
mainfrom
fix/pub-observation-3p
Mar 14, 2026
Merged

feat(pyi): Export Observation3P and add docstrings#177
smly merged 1 commit into
mainfrom
fix/pub-observation-3p

Conversation

@smly

@smly smly commented Mar 14, 2026

Copy link
Copy Markdown
Owner
  • Export Observation3P from the Python package so that from riichienv import Observation3P works. Observation3P was already registered in the PyO3 native module (_riichienv) but was missing from __init__.py imports and __all__.
  • Add Observation3P type stub to _riichienv.pyi with full attribute and method signatures.
  • Add the missing encode() stub to the existing Observation class in the .pyi file.
  • Add class-level and method-level docstrings (with usage examples) to both Observation and Observation3P in the .pyi stub.

@smly smly added this to the v0.5.0 milestone Mar 14, 2026
@smly smly self-assigned this Mar 14, 2026
@smly smly added the documentation Improvements or additions to documentation label Mar 14, 2026
@smly
smly merged commit 4db06f7 into main Mar 14, 2026
7 checks passed
@smly
smly deleted the fix/pub-observation-3p branch March 14, 2026 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant