|
class Overrides(BaseModel): |
|
r"""This could be used to override provider specific configurations""" |
|
|
|
steps: Optional[Dict[str, StepsOverrides]] = None |
|
r"""This could be used to override provider specific configurations""" |
|
|
|
providers: Optional[Dict[str, Dict[str, Any]]] = None |
|
r"""Overrides the provider configuration for the entire workflow and all steps""" |
|
|
|
email: Annotated[ |
|
Optional[Dict[str, Any]], |
|
pydantic.Field( |
|
deprecated="warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible." |
|
), |
|
] = None |
|
r"""Override the email provider specific configurations for the entire workflow""" |
|
|
|
push: Annotated[ |
|
Optional[Dict[str, Any]], |
|
pydantic.Field( |
|
deprecated="warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible." |
|
), |
|
] = None |
|
r"""Override the push provider specific configurations for the entire workflow""" |
|
|
|
sms: Annotated[ |
|
Optional[Dict[str, Any]], |
|
pydantic.Field( |
|
deprecated="warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible." |
|
), |
|
] = None |
|
r"""Override the sms provider specific configurations for the entire workflow""" |
|
|
|
chat: Annotated[ |
|
Optional[Dict[str, Any]], |
|
pydantic.Field( |
|
deprecated="warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible." |
|
), |
|
] = None |
|
r"""Override the chat provider specific configurations for the entire workflow""" |
|
|
|
layout_identifier: Annotated[ |
|
Optional[str], |
|
pydantic.Field( |
|
deprecated="warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible.", |
|
alias="layoutIdentifier", |
|
), |
|
] = None |
|
r"""Override the layout identifier for the entire workflow""" |
Hi,
I noticed most fields from the
Overridesclass are marked as deprecated.novu-py/src/novu_py/models/triggereventrequestdto.py
Lines 33 to 81 in 33e5855
However I was not able to find the alternative to those. Even the official docs recommend it.
I'm looking for guidance on the best practices for overrides.
Thanks in advance.