#NEWLINE# def __init__( self , client , path , duration , identifier = None , utcnow = datetime . datetime . utcnow ) : #NEWLINE# #INDENT# 'Create a non-blocking lease.\n\n        :param client: A :class:`~kazoo.client.KazooClient` instance.\n        :param path: The lease path to use.\n        :param duration: Duration during which the lease is reserved.  A :class:`~datetime.timedelta` instance.\n        :param identifier: Unique name to use for this lease holder. Reuse in order to renew the lease.\n               Defaults do :meth:`socket.gethostname()`.\n        :param utcnow: Clock function, by default returning :meth:`datetime.datetime.utcnow()`.  Used for testing.\n        ' #NEWLINE# ident = ( ident or socket . gethostname ( ) ) #NEWLINE# self . obtained = False #NEWLINE# self . _attempt_obtaining ( client , path , duration , ident , utcnow )