From 6f0d028ce4864c717e4708343d226e2714829bd7 Mon Sep 17 00:00:00 2001 From: Jakub Krajewski Date: Wed, 20 Nov 2024 11:28:26 +0100 Subject: [PATCH] Add models to init --- .../feature_profile/sdwan/uc_voice/__init__.py | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/__init__.py b/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/__init__.py index d85d9533..82d04f45 100644 --- a/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/__init__.py +++ b/catalystwan/models/configuration/feature_profile/sdwan/uc_voice/__init__.py @@ -6,20 +6,25 @@ from typing_extensions import Annotated from catalystwan.models.configuration.feature_profile.sdwan.uc_voice.media_profile import MediaProfileParcel +from catalystwan.models.configuration.feature_profile.sdwan.uc_voice.translation_profile import TranslationProfileParcel +from catalystwan.models.configuration.feature_profile.sdwan.uc_voice.translation_rule import TranslationRuleParcel from catalystwan.models.configuration.feature_profile.sdwan.uc_voice.trunk_group import TrunkGroupParcel from .dsp_farm import DspFarmParcel AnyUcVoiceParcel = Annotated[ - Union[ - DspFarmParcel, - MediaProfileParcel, - TrunkGroupParcel, - ], + Union[DspFarmParcel, MediaProfileParcel, TrunkGroupParcel, TranslationRuleParcel, TranslationProfileParcel], Field(discriminator="type_"), ] -__all__ = ("AnyUcVoiceParcel", "DspFarmParcel", "MediaProfileParcel", "TrunkGroupParcel") +__all__ = ( + "AnyUcVoiceParcel", + "DspFarmParcel", + "MediaProfileParcel", + "TrunkGroupParcel", + "TranslationProfileParcel", + "TranslationRuleParcel", +) def __dir__() -> "List[str]":