How to use MyEntityType.remove() in python


I know in python, we need to use keyword argument.

I checked c3ShowType(Persistable) and saw that remove(spec). spec is an UpsertSpec.

However, I don’t know how to construct my dictionary for a UpsertSpec to achieve the following in python.



remove is a member function. so you should be calling it on an instance of your type: c3.MyType(id='my_id').remove() and c3.MyType.remove(this=c3.MyType(id='my_id')) should both work


c3.MyType.remove(this = {"id": "XXX"}) works.