parameters: (cls, d)
return_statement: return s
docstring: Construct a new `Search` instance from a raw dict containing the search
          body. Useful when migrating from raw dictionaries.
  
          Example::
  
              s = Search.from_dict({
                  "query": {
                      "bool": {
                          "must": [...]
                      }
                  },
                  "aggs": {...}
              })
              s = s.filter('term', published=True)
docstring_summary: Construct a new `Search` instance from a raw dict containing the search
          body. Useful when migrating from raw dictionaries.
docstring_tokens: Construct a new Search instance from a raw dict containing the search body . Useful when migrating from raw dictionaries .
function: def from_dict(cls, d):
          """
          Construct a new `Search` instance from a raw dict containing the search
          body. Useful when migrating from raw dictionaries.
  
          Example::
  
              s = Search.from_dict({
                  "query": {
                      "bool": {
                          "must": [...]
                      }
                  },
                  "aggs": {...}
              })
              s = s.filter('term', published=True)
          """
          s = cls()
          s.update_from_dict(d)
          return s
function_tokens: def from_dict ( cls , d ) : s = cls ( ) s . update_from_dict ( d ) return s