Skip to content

Object.full_path throws an exception #29

@bitpuppet

Description

@bitpuppet

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions