Github user mxmrlv commented on a diff in the pull request:

    https://github.com/apache/incubator-ariatosca/pull/188#discussion_r131536398
  
    --- Diff: aria/orchestrator/execution_plugin/ctx_proxy/server.py ---
    @@ -150,17 +146,29 @@ def __exit__(self, *args, **kwargs):
             self.close()
     
     
    -def _process_ctx_request(ctx, args): # pylint: 
disable=too-many-branches,too-many-statements
    -    current = ctx
    -    index = 0
    +class ProcessingError(RuntimeError):
    +    pass
    +
     
    +class ParsingError(ProcessingError):
    +    pass
    +
    +
    +def _parse_request(ctx, request):
    +    request = json.loads(request)
    +    args = request['args']
    +    return _parse_arguments(ctx, args)
    +
    +
    +def _parse_arguments(obj, args):
    --- End diff --
    
    consider better arguments naming


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to