Here are the examples of the python api sqlalchemy.func.get_xrefs taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
3
View Complete Implementation : models.py
Copyright GNU General Public License v3.0
Author : CERT-Polska
Copyright GNU General Public License v3.0
Author : CERT-Polska
@get_xrefs.expression
def get_xrefs(self, t0, t1):
xr = func.get_xrefs(t0, t1, '123')
ml = self.x_alias or aliased(Malware, name='ml')
j = xr.join(ml, column('mid') == ml.id)
return select([ml]).select_from(j)