-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
asyncAsync client implementationAsync client implementationenhancementNew feature or requestNew feature or requestparts-catalogParts Catalog API moduleParts Catalog API module
Description
Overview
Implement the Parts Catalog API write methods in the async client. This is a new API module not yet present in the async client. No GET operations exist in this module.
Endpoints (3)
| ID | Method | Path |
|---|---|---|
| PC001U | PUT | catalogs/{catalog}/{language} |
| PC002U | PUT | catalogs/{catalog}/{language}/{itemLabel} |
| PC002D | DELETE | catalogs/{catalog}/{language}/{itemLabel} |
Method count: 3 write operations (PUT/DELETE)
Implementation Notes
- Create new module
ofsc/async_client/partscatalog.pywithAsyncOFSPartsCatalogclass - Wire into
AsyncOFSCmain client (similar tocapacity,metadata,core) - Create corresponding request/response Pydantic models in
ofsc/models/(newpartscatalog.pyor add to__init__.py) - Create test file
tests/async/test_async_partscatalog.py - Run
uv run python scripts/update_endpoints_doc.py --forceafter implementation - Update README with new Parts Catalog section
Acceptance Criteria
-
AsyncOFSPartsCatalogclass created with all 3 write methods - Module wired into
AsyncOFSC - Request/response Pydantic models created
- Mocked tests passing
- Live tests marked with
@pytest.mark.uses_real_data - ENDPOINTS.md updated
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
asyncAsync client implementationAsync client implementationenhancementNew feature or requestNew feature or requestparts-catalogParts Catalog API moduleParts Catalog API module