import requests as req
from django.http import JsonResponse


def dolfin_view(request):
    r""""""
    data = {'name': 'numbers'}
    r = req.post('http://femdolfinx:5555', data)
    out = r.json()
    if out is None:
        return JsonResponse({'out': 'nothing'})
    else:
        n = out['numbers']
        x = n[1] + n[2]
        return JsonResponse({'out': x})

68046f0f465a790d6695e6e542ce1e7635452693
<mask token>

<mask token>


def dolfin_view(request):
    """"""
    data = {'name': 'numbers'}
    r = req.post('http://femdolfinx:5555', data)
    out = r.json()
    if out is None:
        return JsonResponse({'out': 'nothing'})
    else:
        n = out['numbers']
        x = n[1] + n[2]
        return JsonResponse({'out': x})

import requests as req
from django.http import JsonResponse


def dolfin_view(request):
    """"""
    data = {'name': 'numbers'}
    r = req.post('http://femdolfinx:5555', data)
    out = r.json()
    if out is None:
        return JsonResponse({'out': 'nothing'})
    else:
        n = out['numbers']
        x = n[1] + n[2]
        return JsonResponse({'out': x})

import requests as req
from django.http import JsonResponse


def dolfin_view(request):
    r""""""
    data = {'name': 'numbers'}
    r = req.post('http://femdolfinx:5555', data)
    out = r.json()
    if out is None:
        return JsonResponse({'out': 'nothing'})
    else:
        n = out['numbers']
        x = n[1] + n[2]
        return JsonResponse({'out': x})
