/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Public Attributes
Scraper::daq::baseinfo::BaseInfo Class Reference

List of all members.

Public Member Functions

def __init__
def __repr__

Public Attributes

 source
 target
 cfg

Detailed Description

Definition at line 7 of file baseinfo.py.


Constructor & Destructor Documentation

def Scraper::daq::baseinfo::BaseInfo::__init__ (   self,
  source,
  target,
  cfg 
)

Definition at line 8 of file baseinfo.py.

00009                                              :
00010         dict.__init__(self)
00011 
00012         msg = "for testing convenience only, in production avoid balkanization by passing in common MetaDB instance"
00013         if type(source) == str:
00014             log.warn("promoting string %s to MetaDB instance : %s "  % (source,msg) )
00015             source = MetaDB(source)
00016         if type(target) == str:
00017             log.warn("promoting string %s to MetaDB instance : %s" % (target,msg) )
00018             target = MetaDB(target)
00019 
00020         assert type(source) == MetaDB, source
00021         assert type(target) == MetaDB, target
00022         assert type(cfg) == dict , cfg 
00023  
00024 
00025         self.source = source
00026         self.target = target
00027         self.cfg = cfg 


Member Function Documentation

def Scraper::daq::baseinfo::BaseInfo::__repr__ (   self)

Definition at line 28 of file baseinfo.py.

00029                       :
00030         return "%s %s" % ( repr(self.source),  repr(self.target) ) 
00031 


Member Data Documentation

Definition at line 8 of file baseinfo.py.

Definition at line 8 of file baseinfo.py.

Definition at line 8 of file baseinfo.py.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:50:03 for Scraper by doxygen 1.7.4