7digital-python.lib.py7digital._Request Class Reference
Inheritance diagram for 7digital-python.lib.py7digital._Request:
Inheritance graph
Collaboration diagram for 7digital-python.lib.py7digital._Request:
Collaboration graph

Public Member Functions

def __init__ (self, method_name, params)
 
def execute (self, cacheable=False)
 
def __init__ (self, method_name, params)
 
def execute (self, cacheable=False)
 

Data Fields

 params
 
 method
 

Private Member Functions

def _download_response (self)
 
def _get_cache_key (self)
 
def _is_cached (self)
 
def _get_cached_response (self)
 
def _get_error (self, text)
 
def _download_response (self)
 
def _get_cache_key (self)
 
def _is_cached (self)
 
def _get_cached_response (self)
 
def _get_error (self, text)
 

Detailed Description

Representing an abstract web service operation.

Definition at line 46 of file musixmatch-master/7digital-python/lib/py7digital.py.

Constructor & Destructor Documentation

def 7digital-python.lib.py7digital._Request.__init__ (   self,
  method_name,
  params 
)
def 7digital-python.lib.py7digital._Request.__init__ (   self,
  method_name,
  params 
)

Definition at line 49 of file Yading/7digital-python/lib/py7digital.py.

Member Function Documentation

def 7digital-python.lib.py7digital._Request._download_response (   self)
private
def 7digital-python.lib.py7digital._Request._download_response (   self)
private
Returns a response

Definition at line 53 of file Yading/7digital-python/lib/py7digital.py.

def 7digital-python.lib.py7digital._Request._get_cache_key (   self)
private
Cache key

Definition at line 84 of file Yading/7digital-python/lib/py7digital.py.

def 7digital-python.lib.py7digital._Request._get_cached_response (   self)
private
def 7digital-python.lib.py7digital._Request._get_cached_response (   self)
private
Returns a file object of the cached response.

Definition at line 98 of file Yading/7digital-python/lib/py7digital.py.

def 7digital-python.lib.py7digital._Request._get_error (   self,
  text 
)
private

Definition at line 107 of file Yading/7digital-python/lib/py7digital.py.

def 7digital-python.lib.py7digital._Request._get_error (   self,
  text 
)
private
def 7digital-python.lib.py7digital._Request._is_cached (   self)
private
def 7digital-python.lib.py7digital._Request._is_cached (   self)
private
Returns True if the request is available in the cache.

Definition at line 94 of file Yading/7digital-python/lib/py7digital.py.

def 7digital-python.lib.py7digital._Request.execute (   self,
  cacheable = False 
)

Definition at line 74 of file Yading/7digital-python/lib/py7digital.py.

def 7digital-python.lib.py7digital._Request.execute (   self,
  cacheable = False 
)

Field Documentation


The documentation for this class was generated from the following file: