Did I find the right examples for you? yes no

All Samples(12)  |  Call(9)  |  Derive(0)  |  Import(3)
Generate a new random object ID.

        def newid():
   """
   Generate a new random object ID.
   """
   return ''.join([random.choice("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_") for i in xrange(16)])
        


src/t/a/tangelo-HEAD/tangelo/tangelo/autobahn/wamp.py   tangelo(Download)
from pbkdf2 import pbkdf2_bin
from prefixmap import PrefixMap
from util import utcstr, utcnow, parseutc, newid
 
 
      procuri = args[0]
      while True:
         callid = newid()
         if not self.calls.has_key(callid):
            break
      Welcome message containing session ID.
      """
      self.session_id = newid()
 
      ## include traceback as error detail for RPC errors with
         ## each authentication request gets a unique authid, which can only be used (later) once!
         ##
         authid = newid()
 
         ## create authentication challenge

src/t/a/tangelo-0.6.1/tangelo/autobahn/wamp.py   tangelo(Download)
from pbkdf2 import pbkdf2_bin
from prefixmap import PrefixMap
from util import utcstr, utcnow, parseutc, newid
 
 
      procuri = args[0]
      while True:
         callid = newid()
         if not self.calls.has_key(callid):
            break
      Welcome message containing session ID.
      """
      self.session_id = newid()
 
      ## include traceback as error detail for RPC errors with
         ## each authentication request gets a unique authid, which can only be used (later) once!
         ##
         authid = newid()
 
         ## create authentication challenge

src/a/u/autobahn_rce-0.6.0.5/autobahn/wamp.py   autobahn_rce(Download)
from pbkdf2 import pbkdf2_bin
from prefixmap import PrefixMap
from util import utcstr, utcnow, parseutc, newid
 
 
      procuri = args[0]
      while True:
         callid = newid()
         if not self.calls.has_key(callid):
            break
      Welcome message containing session ID.
      """
      self.session_id = newid()
 
      ## include traceback as error detail for RPC errors with
         ## each authentication request gets a unique authid, which can only be used (later) once!
         ##
         authid = newid()
 
         ## create authentication challenge