File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 11>  August 16, 2021: Version 5 has been released. Read about the [ changes in
2- >  version 5] ( https://composed.blog/jsonrpcserver-5-changes ) , or read the [ full
3- >  documentation] ( https://www.jsonrpcserver.com/en/stable/ ) .
4- >  Version 5 is for Python 3.8+ only. For earlier versions jump to the [ 4.x
5- >  branch] ( https://github.com/explodinglabs/jsonrpcserver/tree/4.x )  or read the
6- >  [ documentation for version 4] ( https://www.jsonrpcserver.com/en/4.2.0/ ) .
2+ >  version 5] ( https://composed.blog/jsonrpcserver-5-changes ) . 
73
84<img
95 alt="jsonrpcserver"
1410Process incoming JSON-RPC requests in Python.
1511
1612![ PyPI] ( https://img.shields.io/pypi/v/jsonrpcserver.svg ) 
17- ![ Downloads] ( https://pepy.tech/badge/jsonrpcserver/week ) 
1813![ Code Quality] ( https://github.com/explodinglabs/jsonrpcserver/actions/workflows/code-quality.yml/badge.svg ) 
1914![ Coverage Status] ( https://coveralls.io/repos/github/explodinglabs/jsonrpcserver/badge.svg?branch=main ) 
15+ ![ Downloads] ( https://img.shields.io/pypi/dm/jsonrpcserver.svg ) 
2016
2117``` python 
2218from  jsonrpcserver import  Success, method, serve
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ def __repr__(self) -> str:
3131
3232
3333# Union of the two valid result types 
34- Result  =  Either [SuccessResult ,  ErrorResult ]
34+ Result  =  Either [ErrorResult ,  SuccessResult ]
3535
3636
3737# Helpers 
                         You can’t perform that action at this time. 
           
                  
0 commit comments