8000 GitHub · Where software is built
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Sep 15, 2024. It is now read-only.
api.Resource.delete() throws 'NoneType' object is not callable #12
Open
@rolandjitsu

Description

@rolandjitsu

When I try to delete a resource resource.delete() after I fetched it via resource = api.Resource.first() I get the following exception:

/Users/user/.virtualenvs/local/lib/python3.5/site-packages/test_app/resource.py in delete(self)
    146 
    147     def delete(self):
--> 148         return self._destroy(id=self.id)
    149 
    150     def _repr_html_(self):

TypeError: 'NoneType' object is not callable

Metadata

Metadata

Assignees

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

    0