(self, value, param_name="", check_types=None)
| 100 | return res |
| 101 | |
| 102 | def _handle_param(self, value, param_name="", check_types=None): |
| 103 | if not hasattr(value, "resolve_expression"): |
| 104 | if check_types and not isinstance(value, check_types): |
| 105 | raise TypeError( |
| 106 | "The %s parameter has the wrong type: should be %s." |
| 107 | % (param_name, check_types) |
| 108 | ) |
| 109 | return value |
| 110 | |
| 111 | |
| 112 | class GeoFunc(GeoFuncMixin, Func): |
no outgoing calls
no test coverage detected