def clone(self, klass=None, memo=None):  # pylint: disable=arguments-differ
     if DJANGO_20_PLUS:
         query = Query.clone(self)
     else:
         query = Query.clone(self, klass, memo)  # pylint: disable=too-many-function-args
     query.is_query_all = self.is_query_all
     return query
 def clone(self, klass=None, memo=None):  # pylint: disable=arguments-differ
     if DJANGO_20_PLUS:
         query = Query.clone(self)
     else:
         query = Query.clone(self, klass, memo)  # pylint: disable=too-many-function-args
     query.is_query_all = self.is_query_all
     return query
 def clone(self, klass=None, memo=None) -> 'SalesforceQuery[_T]':  # pylint: disable=arguments-differ
     if DJANGO_20_PLUS:
         query = cast(SalesforceQuery, Query.clone(self))
     else:
         # pylint: disable=too-many-function-args
         query = cast(SalesforceQuery,
                      Query.clone(self, klass,
                                  memo))  # type: ignore[call-arg]  # noqa
         query.sf_params = self.sf_params
     return query
Exemplo n.º 4
0
	def clone(self, klass=None, memo=None, **kwargs):
		query = Query.clone(self, klass, memo, **kwargs)
		query.is_query_all = self.is_query_all
		return query
Exemplo n.º 5
0
	def clone(self, klass=None, memo=None, **kwargs):
		return Query.clone(self, klass, memo, **kwargs)
Exemplo n.º 6
0
 def clone(self, klass=None, memo=None, **kwargs):
     return Query.clone(self, klass, memo, **kwargs)