server/sources/__init__.py
branch3.5
changeset 3040 e4dc22040f5f
parent 2759 23d7a75693f8
child 3041 782fa7566a22
equal deleted inserted replaced
3039:7d5a4d27d052 3040:e4dc22040f5f
    77     uri = None
    77     uri = None
    78     # a reference to the system information helper
    78     # a reference to the system information helper
    79     repo = None
    79     repo = None
    80     # a reference to the instance'schema (may differs from the source'schema)
    80     # a reference to the instance'schema (may differs from the source'schema)
    81     schema = None
    81     schema = None
       
    82 
       
    83     # multi-sources planning control
       
    84     dont_cross_relations = ()
       
    85     cross_relations = ()
       
    86 
    82 
    87 
    83     def __init__(self, repo, appschema, source_config, *args, **kwargs):
    88     def __init__(self, repo, appschema, source_config, *args, **kwargs):
    84         self.repo = repo
    89         self.repo = repo
    85         self.uri = source_config['uri']
    90         self.uri = source_config['uri']
    86         set_log_methods(self, getLogger('cubicweb.sources.'+self.uri))
    91         set_log_methods(self, getLogger('cubicweb.sources.'+self.uri))