File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1404,10 +1404,10 @@ def list_sessions(
14041404 self ,
14051405 * ,
14061406 user_id : str ,
1407- limit : Optional [ int ] = DEFAULT_LIST_RESPONSE_LIMIT ,
1407+ limit : int = DEFAULT_LIST_RESPONSE_LIMIT ,
14081408 before : Optional [str ] = None ,
14091409 after : Optional [str ] = None ,
1410- order : Optional [ PaginationOrder ] = None ,
1410+ order : PaginationOrder = "desc" ,
14111411 ) -> "SessionsListResource" :
14121412 params : ListArgs = {
14131413 "limit" : limit ,
@@ -2105,10 +2105,10 @@ async def list_sessions(
21052105 self ,
21062106 * ,
21072107 user_id : str ,
2108- limit : Optional [ int ] = DEFAULT_LIST_RESPONSE_LIMIT ,
2108+ limit : int = DEFAULT_LIST_RESPONSE_LIMIT ,
21092109 before : Optional [str ] = None ,
21102110 after : Optional [str ] = None ,
2111- order : Optional [ PaginationOrder ] = None ,
2111+ order : PaginationOrder = "desc" ,
21122112 ) -> "SessionsListResource" :
21132113 params : ListArgs = {
21142114 "limit" : limit ,
You can’t perform that action at this time.
0 commit comments