Skip to content

Conversation

@btoron
Copy link
Owner

@btoron btoron commented Jan 2, 2026

Summary

This PR contains additional improvements and version updates following the merge of PR #129:

  1. Parallel Testing Improvements - Changed default test execution to parallel
  2. Version Bump - Updated to 2.22.0
  3. Documentation Updates - Updated ENDPOINTS.md with latest implementation status

Changes

1. Parallel Testing by Default

  • Changed addopts in pyproject.toml to run parallel tests by default
  • Updated README.md with clearer parallel testing instructions
  • Serial tests are automatically excluded from parallel execution
  • Includes merge of recent parallel testing improvements

2. Version Update

  • Bumped version from 2.21.0 → 2.22.0
  • Updated pyproject.toml
  • Updated docs/ENDPOINTS.md version and date

3. Endpoints Documentation

  • Updated ENDPOINTS.md with current implementation status
  • Daily Extract & Files: syncboth (3 endpoints)
  • Events & Subscriptions: syncboth (5 endpoints)
  • Resources: syncboth (3 endpoints) + new async-only endpoints (5 endpoints)
  • Total: 86 lines changed (43 insertions, 43 deletions)

Related Issues

Continues work from:

Testing

All tests passing:

uv run pytest  # Runs in parallel by default

Files Changed

  • pyproject.toml - version 2.22.0, parallel testing default
  • README.md - improved testing documentation
  • docs/ENDPOINTS.md - updated endpoint statuses
  • uv.lock - auto-updated

🤖 Generated with Claude Code

btoron and others added 5 commits December 31, 2025 15:18
Implement 3 async methods for daily extract file operations:
- get_daily_extract_dates() - Get available extract dates
- get_daily_extract_files(date) - Get files for a specific date
- get_daily_extract_file(date, filename) - Download a specific file

Changes:
- Add daily_extracts endpoints to capture_api_responses.py
- Implement 3 async methods in ofsc/async_client/core.py
- Create comprehensive tests in tests/async/test_async_daily_extract.py
- Models (DailyExtractFolders, DailyExtractFiles) already existed
- Capture API response for get_daily_extract_dates

Test Results:
- 4 tests created (2 passed, 2 skipped due to no data)
- All methods follow established async patterns
- File download method returns bytes as expected

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Implement 5 async methods for event subscriptions and webhook management:
- create_subscription(subscription) - Create event subscription
- get_subscription(subscription_id) - Get subscription details
- get_subscriptions() - List all subscriptions
- delete_subscription(subscription_id) - Delete subscription
- get_events(params) - Get events from subscriptions

Changes:
- Add Subscription, Event, and request/response models to models.py
- Implement 5 async methods in ofsc/async_client/core.py
- Create comprehensive tests including full workflow test
- Add subscriptions endpoint to capture_api_responses.py
- Capture API response for get_subscriptions
- Fix parallel testing: Make -n auto opt-in, not default
- Update README with parallel testing documentation

Models:
- Subscription (with string subscriptionId, not int)
- SubscriptionListResponse
- CreateSubscriptionRequest
- Event
- EventListResponse

Test Results:
- 5 tests created (all passing)
- Full workflow test: create subscription, move activity, get events
- Saved response validation test

Breaking Change:
- Removed parallel testing as default in pyproject.toml
- Users must now explicitly use `-n auto` for parallel execution
- This ensures serial tests run correctly without conflicts

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Updated version from 2.21.0 to 2.22.0 to reflect new async implementations.

Updated ENDPOINTS.md with current implementation status:
- Daily Extract & Files endpoints: sync → both
- Events & Subscriptions endpoints: sync → both
- Resources endpoints: sync → both (most), new async-only endpoints
- Version updated to 2.22.0
- Date updated to 2026-01-02

Changes:
- pyproject.toml: version 2.22.0
- docs/ENDPOINTS.md: 86 lines changed (43 insertions, 43 deletions)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@btoron btoron merged commit 8dce31f into master Jan 2, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants