Python client v4, how to add a new property to an existing collection?

something like this if I’d create it anew:
Property(
name=“approved”,
data_type=DataType.BOOL,
description=“Whether the document is approved”,
skip_vectorization=True,
vectorize_property_name=False,
index_searchable=False,
),

related Q, how to set a default val in collection initizalition & in adding properties after the fact?

Hi,

you can add a property to an existing collection like this:

collection.config.add_property(Property(...))

related Q, how to set a default val in collection initizalition & in adding properties after the fact?

This is not possible

1 Like