__init__(self,
externalDatabaseID_A,
externalDatabaseID_B,
externalAttribute,
field_conditions_A=[ ] ,
field_conditions_B=[ ] ,
field_cross_references=[ ' value ' ] )
(Constructor)
| source code
|
"externalDatabaseID_A" and "externalDatabaseID_B" are the databaseIntegers that identify the databases we want to crossreference
externalDatabaseID_A must be lower or equal to externalDatabaseID_B. If not, they will be flipped
"externalAttribute" is the attribute that we want to cross-reference
It can be a list of attributes if they have to be taken into account together (for example, ["sequence","taxID"]
"fields_A" and "fields_B" is a list with the fields we want to cross-reference (for example, ["value","type"]
"field_conditions_A" and "field_conditions_B" is optional, and they must be a dictionary with restricted fields { "field": "restricted_value" }
"field_cross_references" is a list of the fields that have to be cross-referenced. By default, it takes the value [ "value" ]
- Overrides:
object.__init__
|