Skip to content

conflict_resolution: Literal["raise", "retrieve"]="raise"


Adds each Feature object within a FeatureGroup object to the catalog. A conflict could be triggered when the Feature objects being saved have violated a uniqueness check. If uniqueness is violated, you can either raise an error or retrieve the object with the same name, depending on the conflict resolution parameter passed in. The default behavior is to raise an error.


  • conflict_resolution: Literal["raise", "retrieve"]
    default: "raise"
    "raise" raises error when then counters conflict error (default)
    "retrieve" handle conflict error by retrieving the object with the same name


>>> features = fb.FeatureGroup([
...     catalog.get_feature("InvoiceCount_60days"),
...     catalog.get_feature("InvoiceAmountAvg_60days"),
... ])