Skip to content

Commit

Permalink
quick example in README.rst fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Tuerke Erik committed Mar 24, 2020
1 parent 6356876 commit c812854
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,11 @@ Quick example

.. code-block:: python
from restit import Request, request_mapping, Resource, Response, RestItApp
from restit import Request, Resource, Response, RestItApp
from restit.decorator import path
@request_mapping("/")
@path("/")
class IndexResource(Resource):
def get(self, request: Request) -> Response:
return Response("Hello from index.")
Expand Down

0 comments on commit c812854

Please sign in to comment.