You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(records): add list (filter) endpoint with read data classes
Add RecordsAPI.list, a cursorless POST to /streams/{streamId}/records/filter
returning a RecordList (max 1000 records). Introduces the records read model:
- Record / RecordList read data classes (clean CogniteResource, no RecordId
multiple-inheritance; RecordList carries optional `typing`).
- TimeRange (gte/gt/lte/lt) for last_updated_time and RecordSourceSelector for
source/property selection; reuse the data-modeling Filter DSL, InstanceSort,
and TypeInformation.
- Add a READ op to RecordsConcurrencyOperation + a read semaphore to the
records concurrency config (reads no longer borrow the write semaphore).
- Make _records_url append the path suffix literally (encode only stream_id)
so "/filter" isn't percent-encoded.
Also register the records API module in the docstring-example doctest runner.
target_units is intentionally deferred to a follow-up.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments