Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/r/e/RestAuth-0.6.4/RestAuth/Users/views.py   RestAuth(Download)
        # If PasswordInvalid: 412 Precondition Failed
        user = user_backend.create(
            username=name, password=password, properties=properties,
            property_backend=property_backend, dry=dry)
 

src/r/e/RestAuth-0.6.4/RestAuth/bin/restauth-import.py   RestAuth(Download)
 
        try:
            user = user_backend.create(username=username, property_backend=property_backend)
            created = True
        except UserExists:

src/r/e/RestAuth-0.6.4/RestAuth/common/cli/actions.py   RestAuth(Download)
            try:
                validate_username(username)
                user = user_backend.create(username=username, property_backend=property_backend)
            except UserExists:
                raise ArgumentError(self, 'User already exists.')

src/r/e/RestAuth-0.6.4/RestAuth/common/testdata.py   RestAuth(Download)
    def create_user(self, username, password=None):
        return user_backend.create(username=username, password=password,
                                   property_backend=property_backend)
 
    def create_group(self, service, groupname):