(clause, where)
| 60 | |
| 61 | |
| 62 | def processWhere(clause, where): |
| 63 | if where is not None: |
| 64 | if not hasattr(where, "__iter__"): |
| 65 | where = (where,) |
| 66 | |
| 67 | try: |
| 68 | for extraClause in where: |
| 69 | clause = and_(clause, extraClause) |
| 70 | except NotImplementedError: |
| 71 | clause = and_(clause, where) |
| 72 | |
| 73 | return clause |
no outgoing calls
no test coverage detected