Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/e/n/encoded-HEAD/src/encoded/views/access_key.py   encoded(Download)
    Everyone,
)
from ..authentication import (
    generate_password,
    generate_user,
def access_key_add(context, request):
    crypt_context = request.registry[CRYPT_CONTEXT]
 
    if 'access_key_id' not in request.validated:
        request.validated['access_key_id'] = generate_user()