diff options
author | efiacor <fiachra.corcoran@est.tech> | 2020-08-05 10:12:04 +0100 |
---|---|---|
committer | efiacor <fiachra.corcoran@est.tech> | 2020-08-13 11:22:39 +0100 |
commit | 38ccb471732faaad6a25defee0753c1c5ac60cf0 (patch) | |
tree | 6b8fd360895ec5cc621d89ab35af7c14a4c05caf /components/pm-subscription-handler/pmsh_service/mod/aai_client.py | |
parent | 66f25c47daae80fe0ebc57bfec32596608d0be5d (diff) |
Refactor and bug fixes
Signed-off-by: efiacor <fiachra.corcoran@est.tech>
Change-Id: I8fe91bfdd2f1a2c8a6ca914e52d82dce04bffc0e
Issue-ID: DCAEGEN2-2146
Diffstat (limited to 'components/pm-subscription-handler/pmsh_service/mod/aai_client.py')
-rwxr-xr-x | components/pm-subscription-handler/pmsh_service/mod/aai_client.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/pm-subscription-handler/pmsh_service/mod/aai_client.py b/components/pm-subscription-handler/pmsh_service/mod/aai_client.py index bd052741..5a3c543a 100755 --- a/components/pm-subscription-handler/pmsh_service/mod/aai_client.py +++ b/components/pm-subscription-handler/pmsh_service/mod/aai_client.py @@ -114,11 +114,11 @@ def _filter_nf_data(nf_data, nf_filter): Returns a list of filtered NetworkFunctions using the nf_filter. Args: - nf_data : the nf json data from AAI. - nf_filter: the `NetworkFunctionFilter <NetworkFunctionFilter>` to be applied. + nf_data(dict): the nf json data from AAI. + nf_filter(NetworkFunctionFilter): the NetworkFunctionFilter to be applied. Returns: - set: a set of filtered NetworkFunctions. + set(NetworkFunctions): a set of filtered NetworkFunctions. Raises: KeyError: if AAI data cannot be parsed. |