Skip to content

Add __getattr__ at arviz module level for better error message when importing InferenceData #2549

@OriolAbril

Description

@OriolAbril

It is possible to redefine the __getattr__ method of a module which we can use to check when the InferenceData attribute is being requested and error out with a message linking to the migration guide. Otherwise call the super unmodified method

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions