def _process_patch_operation(self, operation, team):
        if 'value' not in operation:
            # TODO: handle errors better
            abort(code=http_exceptions.UnprocessableEntity.code, message="value is required")

        assert operation['path'][0] == '/', "Path must always begin with /"
        field_name = operation['path'][1:]
        field_value = operation['value']

        if operation['op'] == parameters.PatchTeamDetailsParameters.OP_REPLACE:
            setattr(team, field_name, field_value)
            return True

        return False
Get the independendant axes, which depend on orientation.
dataset/ETHPy150Open frol/flask-restplus-server-example/app/modules/teams/resources.py/TeamByID._process_patch_operation--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/graphy/graphy/bar_chart.py/BarChart.GetIndependentAxes