def __or__(self, other):
if other is None:<EOL><INDENT>return self.copy()<EOL><DEDENT>elif isinstance(other, (Query, QueryCompound)):<EOL><INDENT>return self.or_(other)<EOL><DEDENT>else:<EOL><INDENT>out = self.copy()<EOL>out.addMath(Query.Math.Or, other)<EOL>return out<EOL><DEDENT>
Creates a new compound query using the
<orb.QueryCompound.Op.Or> type.

:param      other   <orb.Query> || <orb.QueryCompound>

:return     <orb.QueryCompound>

:sa         or_

:usage      |>>> from orb import Query as Q
            |>>> query = (Q('test') != 1) | (Q('name') == 'Eric')
            |>>> print query
            |(test is not 1 or name is Eric)