flask-cloudy icon indicating copy to clipboard operation
flask-cloudy copied to clipboard

Object.full_path throws an exception

Open bitpuppet opened this issue 6 years ago • 0 comments

I am trying to get the full_path of an object after uploading it but getting:

AttributeError: 'Object' object has no attribute 'full_path'

I suspect, this is happening because you are overriding __getattr__ in which you are not checking for the properties that are already defined, instead you are directly calling getattr() on _obj: https://github.com/mardix/flask-cloudy/blob/master/flask_cloudy.py#L465

bitpuppet avatar Jan 15 '20 04:01 bitpuppet