Exemplo n.º 1
0
def data_context_namevalue_name_put(value_name,
                                    tapi_common_name_and_value=None
                                    ):  # noqa: E501
    """data_context_namevalue_name_put

    creates or updates tapi.common.NameAndValue # noqa: E501

    :param value_name: Id of name
    :type value_name: str
    :param tapi_common_name_and_value: tapi.common.NameAndValue to be added or updated
    :type tapi_common_name_and_value: dict | bytes

    :rtype: None
    """
    if connexion.request.is_json:
        tapi_common_name_and_value = TapiCommonNameAndValue.from_dict(
            connexion.request.get_json())  # noqa: E501
    return 'do some magic!'