Open arielshaqed opened 1 month ago
This also occurs for the high-level Python SDK, of course.
datetime_format
in the API client:
clt.config.datetime_format = '%Y-%m-%dT%H:%M:%SZ'
repo = Repository(repository_id='my-repo', client=clt)
since
parameter.
since
is a string with "date-time" format. OpenAPI requires a code forces incorrect OpenAPI date-time format for this, basically 2024-06-04T11:40:50Z.The generated Python client code forces an incorrect format here by including microseconds, yielding 2024-06-04T11:40:50.765432Z. As a result the call fails with a message like:
(Reported by a user.)