{"record":{"id":"9e548b362ad1a5ae","repo":"dbt-labs/dbt-core","slug":"has-no-method-named-9e548b","errorCode":null,"errorMessage":"{} has no method named {}","messagePattern":"(.+?) has no method named (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/dbt-agate/src/lib.rs","lineNumber":745,"sourceCode":"                Ok(value)\n            }\n            \"dict\" => {\n                assert_nullary_args!(\"MappedSequence.items\", args)?;\n                if let Some(dict) = self.dict() {\n                    Ok(Value::from_object(dict))\n                } else {\n                    // trying to approximate a `raise KeyError`\n                    Err(minijinja::Error::new(\n                        ErrorKind::NonKey,\n                        format!(\"{} type does not define keys()\", self.type_name()),\n                    ))\n                }\n            }\n            _ => {\n                if let Some(value) = self.get_value(&Value::from(name)) {\n                    return value.call(state, args, listeners);\n                }\n                Err(minijinja::Error::new(\n                    ErrorKind::UnknownMethod,\n                    format!(\"{} has no method named {}\", self.type_name(), name),\n                ))\n            }\n        }\n    }\n\n    /// See [`minijinja::Object::render`].\n    fn render(self: &Arc<Self>, f: &mut fmt::Formatter<'_>) -> fmt::Result {\n        self.fmt(f)\n    }\n\n    // impl of the fmt::Display trait for MappedSequence objects -------------------\n\n    /// Used to implement the equivalent of __unicode__, __str__, and __repr__ in Python.\n    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {\n        let values = self.values();\n        let len = values.len();","sourceCodeStart":727,"sourceCodeEnd":763,"githubUrl":"https://github.com/dbt-labs/dbt-core/blob/0267ce9170576975b76b64ce856b2e5848e96617/crates/dbt-agate/src/lib.rs#L727-L763","documentation":"Method-dispatch guard at the end of MappedSequence::call_method: the requested method name matched no arm and no dynamic fallback resolved it, so the sequence object has no such method. Interpolates the type name and the missing method name.","triggerScenarios":"Thrown at crates/dbt-agate/src/lib.rs:745 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use a method the MappedSequence implements (values, keys, items, dict, etc.)","Check for typos in the method name in the Jinja template","Extend the call_method dispatch if the method genuinely belongs on this type"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"0267ce9170576975b76b64ce856b2e5848e96617","analyzedAt":"2026-09-07T21:53:39.732Z","contentChangedAt":"2026-09-07T21:53:39.732Z","schemaVersion":2},"datasetVersion":"2026-09-17T15:17:12.973Z"}