Skip to content

Discrepancy between docstring and real implementation of SequencesDataAPI.retrieve_last_row #2266

@pierreRambourg

Description

@pierreRambourg

System information (please complete the following information):

  • OS: Windows
  • Python Version: 3.11.9
  • SDK Version: 7.73.3

Describe the bug
Docstring of SequencesDataAPI.retrieve_last_row for parameter external_id is "External id or list of external ids." but it doesn't handle list[str], only str | None as typed.
Documentation : https://cognite-sdk-python.readthedocs-hosted.com/en/latest/sequences.html#retrieve-last-row

Expected behavior
Accept list of str as DatapointsAPI.retrieve_latest accept this data type.

Screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions