When we’ve tried to update to python sdk v8 we get a 400 validation issue when we try to create a container.
We’re currently using v7.92.0, where we have no problems. We’ve tested versions v8.0.7 and v8.2.0.
client.config.api_subversion is ‘20230101’ for both 7.92.0 and 8.2.0.
Here is an example of a request that fails with: Unexpected field - items[0].properties..constraintState.
constraintState seems to be a new property for v8 of the api.
ContainerApply(
space="Space",
external_id="Comp",
name="Comp",
used_for="node",
properties={
"manufacturer_name": ContainerProperty(
type=Text(),
nullable=True,
)
}
)I notice also that the CDF Jupyter notebook in browser is still on v7.92.0. Is there potentially any other issues preventing an upgrade to v8?
Best Regards
Daniel Rasmussen
Check the
documentation
Ask the
Community
Take a look
at
Academy
Cognite
Status
Page
Contact
Cognite Support
