X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=o2common%2Fviews%2Froute.py;h=c6fc56e974c40612cbbca4c1e78069aa6491aaf2;hb=beb6be827aa4f45b8d798434a45bc15b0d7baf32;hp=08621ffd3251e118883342109094448fbf786378;hpb=36406ce99838c492da6d1540d5f3adf28a2ea482;p=pti%2Fo2.git diff --git a/o2common/views/route.py b/o2common/views/route.py index 08621ff..c6fc56e 100644 --- a/o2common/views/route.py +++ b/o2common/views/route.py @@ -98,8 +98,8 @@ class o2_marshal_with(marshal_with): req_args = request.args mask = self._gen_mask_from_selector(**req_args) - - # mask = self.mask + if mask == '': + mask = self.mask # if has_request_context(): # mask_header = current_app.config["RESTX_MASK_HEADER"] @@ -130,7 +130,7 @@ class o2_marshal_with(marshal_with): mask_val = '' if 'all_fields' in kwargs: all_fields_without_space = kwargs['all_fields'].replace(" ", "") - logger.info('all_fields selector value is {}'.format( + logger.debug('all_fields selector value is {}'.format( all_fields_without_space)) # all_fields = all_fields_without_space.lower() # if 'true' == all_fields: