Skip to content

Commit

Permalink
Add models to init
Browse files Browse the repository at this point in the history
  • Loading branch information
jpkrajewski committed Nov 20, 2024
1 parent c34615b commit 6f0d028
Showing 1 changed file with 11 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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]":
Expand Down

0 comments on commit 6f0d028

Please sign in to comment.