{"record":{"id":"161a64692d50e674","repo":"apache/beam","slug":"f-no-inline-provider-found-for-name","errorCode":null,"errorMessage":"f\"No inline provider found for {name}\"","messagePattern":"f\"No inline provider found for (.+?)\"","errorType":"exception","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"sdks/python/apache_beam/yaml/yaml_provider.py","lineNumber":1738,"sourceCode":"    hasher = hashlib.new(digest)\n    data = fileobj.read(1 << 20)\n    while data:\n      hasher.update(data)\n      data = fileobj.read(1 << 20)\n    return hasher\n\n\nclass _InlineProviderNamespace:\n  \"\"\"Gives fully qualified names to inline providers from standard_providers().\n\n  This is needed to upgrade InlineProvider to ExternalPythonProvider.\n  \"\"\"\n  def __getattr__(self, name):\n    typ = name.replace('_', '-')\n    for provider in standard_providers()[typ]:\n      if isinstance(provider, InlineProvider):\n        return provider._transform_factories[typ]\n    raise ValueError(f\"No inline provider found for {name}\")\n\n\nstandard_inline_providers = _InlineProviderNamespace()\n","sourceCodeStart":1720,"sourceCodeEnd":1742,"githubUrl":"https://github.com/apache/beam/blob/12126d8942aaf848030c478b4c6a28c6af861c66/sdks/python/apache_beam/yaml/yaml_provider.py#L1720-L1742","documentation":"_InlineProviderNamespace.__getattr__ looks up a transform type among standard inline providers and returns its Python transform factory. If no InlineProvider exists for the requested attribute name (dash-normalized), a ValueError is raised.","triggerScenarios":"Accessing an attribute on standard_inline_providers (or the module-level namespace) such as apache_beam.yaml.standard_inline_providers.some_unknown_type where 'some-unknown-type' has no inline provider registered.","commonSituations":"Typos in transform type names, accessing a provider that only exists as an ExternalProvider (not inline), or referencing a transform not available in the installed Beam version.","solutions":["Check the attribute/transform type spelling (underscores are converted to dashes).","List available inline providers via standard_providers() to find valid type names.","Use an ExternalProvider spec in the YAML if the transform is not available inline.","Upgrade apache_beam if the transform was added in a newer version."],"exampleFix":"# before\nfactory = apache_beam.yaml.standard_inline_providers.loggging\n\n# after\nfactory = apache_beam.yaml.standard_inline_providers.logging","handlingStrategy":"type-guard","validationCode":"from apache_beam.yaml.yaml_provider import standard_providers\nif name not in standard_providers():\n    raise ValueError(f'{name} is not a standard provider')","typeGuard":"def has_inline_provider(ns, name: str) -> bool:\n    return name.replace('_', '-') in ns._transform_factories","tryCatchPattern":"try:\n    factory = standard_inline_providers.my_transform\nexcept ValueError:\n    factory = None  # fall back to external provider spec","preventionTips":["Verify transform type names against standard_providers()","Remember underscores map to dashes","Pin the Beam version and check release notes for provider availability"],"tags":["python","apache-beam","attribute-error","provider-config"],"backgroundTag":"entity-not-found","analyzedSha":"12126d8942aaf848030c478b4c6a28c6af861c66","analyzedAt":"2026-09-13T01:50:10.254Z","contentChangedAt":"2026-09-13T01:50:10.254Z","schemaVersion":2},"datasetVersion":"2026-09-14T21:17:11.552Z"}