diff --git a/odins_spear/scripter.py b/odins_spear/scripter.py index e2b6c44..6c6fab2 100644 --- a/odins_spear/scripter.py +++ b/odins_spear/scripter.py @@ -160,6 +160,9 @@ def service_provider_trunking_capacity(self, service_provider_id: str): This will show the totals at each level from SP/ ENT to Group to Trunk Groups located in Groups. At each level Max Active Calls and Bursting Max Active calls are detailed and then differences at calculated. + + Raises: + OSServiceNotAssigned: Raises when the SP/ Ent does not have the service 'Trunk Group' assigned. Args: service_provider_id (str): Target Service Provider ID/ Enterprise ID that you would like the \ diff --git a/odins_spear/scripts/service_provider_trunking_capacity.py b/odins_spear/scripts/service_provider_trunking_capacity.py index 8183177..97567d4 100644 --- a/odins_spear/scripts/service_provider_trunking_capacity.py +++ b/odins_spear/scripts/service_provider_trunking_capacity.py @@ -10,6 +10,9 @@ def main(api: object, service_provider_id: str): At each level Max Active Calls and Bursting Max Active calls are detailed and then differences at calculated. + Raises: + OSServiceNotAssigned: Raises when the SP/ Ent does not have the service 'Trunk Group' assigned. + Args: service_provider_id (str): Target Service Provider ID/ Enterprise ID that you would like the \ Trunk Call Capacity breakdown.