Skip to content

Commit

Permalink
Merge pull request #123 from taoufik07/patch-7
Browse files Browse the repository at this point in the history
Quick fix
  • Loading branch information
kennethreitz committed Oct 22, 2018
2 parents 3f0ecea + 60f0e76 commit a1564ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions responder/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def is_graphql(self):
def is_class_based(self):
return hasattr(self.endpoint, "__class__")

@property
def is_function(self):
routed = hasattr(self.endpoint, "is_routed")
code = hasattr(self.endpoint, "__code__")
Expand Down

0 comments on commit a1564ca

Please sign in to comment.