parameters: (self, name)
return_statement: return TokenData(name=token.name,
                           version=token.version,
                           owner=token.owner,
                           expiration_time=token.expirationTime,
                           priority=token.priority,
                           data=token.data)
docstring: Get token data from the store.
  
          Args:
              path: The name of the token to retrieve.
          Returns:
              The token or None if it was not found.
docstring_summary: Get token data from the store.
docstring_tokens: Get token data from the store .
function: def get_token(self, name):
          """Get token data from the store.
  
          Args:
              path: The name of the token to retrieve.
          Returns:
              The token or None if it was not found.
          """
          tokens = self._store.read_tokens(name)
          token = None
          for token in tokens:
              if token.name == name:
                  break
          if not token or token.name != name:
              raise PinballException("didn't find any tokens with name %s" %
                                     name)
          return TokenData(name=token.name,
                           version=token.version,
                           owner=token.owner,
                           expiration_time=token.expirationTime,
                           priority=token.priority,
                           data=token.data)
function_tokens: def get_token ( self , name ) : tokens = self . _store . read_tokens ( name ) token = None for token in tokens : if token . name == name : break if not token or token . name != name : raise PinballException ( "didn't find any tokens with name %s" % name ) return TokenData ( name = token . name , version = token . version , owner = token . owner , expiration_time = token . expirationTime , priority = token . priority , data = token . data )