-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
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'
from restle.resources import Resource
class BaseResource(Resource):
class Meta:
case_sensitive_fields = False
match_fuzzy_keys = True
class ArcGISResource(BaseResource):
class Meta(BaseResource.Meta):
get_parameters = {"f": "json"}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels