You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Resource Meta classes don't support inheritance #1
It's because the Meta classes are processed at class-definition time, and removed afterwards. By the time an inheriting class definition is processed, the Meta class has been removed from the parent.
For example, the following results in this error:
AttributeError: type object 'BaseResource' has no attribute 'Meta'
Activity
dharvey-consbio commentedon Jul 8, 2021
Another closely related improvement would be to make
ResourceOptionssupported by theMetaclass overridable in inheriting classes:Currently the way
restle.resource.ResourceBasehandlesrestle.options.ResourceOptionsprevents this.