Skip to content

Add metadata filtering to event store retrieval#93

Open
Silviculturalist wants to merge 1 commit into
devfrom
codex/introduce-eventrecord-schema-and-eventstore-service
Open

Add metadata filtering to event store retrieval#93
Silviculturalist wants to merge 1 commit into
devfrom
codex/introduce-eventrecord-schema-and-eventstore-service

Conversation

@Silviculturalist

Copy link
Copy Markdown
Owner

Summary

  • allow EventStore.iter_records to filter by metadata, cap results with an optional limit, and validate the new inputs
  • expose the expanded filtering surface through StandComposite.iter_event_records so composites can forward metadata, kind, and index queries
  • extend event store tests to cover metadata filtering, limit handling, and composite forwarding of the new parameters

Testing

  • pip install --upgrade pip
  • pip install -e '.[dev]'
  • pip install -r docs/requirements.txt
  • ruff check . --fix
  • ruff format .
  • pytest --cov=pyforestry --cov-report=xml --cov-report=html --cov-fail-under=50
  • python scripts/check_changed_file_coverage.py $(git rev-list --max-parents=0 HEAD)

https://chatgpt.com/codex/tasks/task_e_68ea913bcd688329a1b5415a571d11df

Base automatically changed from feature/simulation to dev December 1, 2025 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant