@@ -473,7 +473,8 @@ def __init__(self, data):
473473 def __len__ (self ):
474474 return len (self .data )
475475
476- def to_json (self , path_or_buf , _orient , lines ):
476+ def to_json (self , path_or_buf , orient , lines ):
477+ _ = orient
477478 # Handle both file-like objects and path strings (like real pandas)
478479 if hasattr (path_or_buf , "write" ):
479480 # It's a file-like object
@@ -540,7 +541,8 @@ def __init__(self, data):
540541 def __len__ (self ):
541542 return len (self .data )
542543
543- def to_json (self , path_or_buf , _orient , lines ):
544+ def to_json (self , path_or_buf , orient , lines ):
545+ _ = orient
544546 # Handle both file-like objects and path strings (like real pandas)
545547 if hasattr (path_or_buf , "write" ):
546548 # It's a file-like object
@@ -586,7 +588,8 @@ def __init__(self, data):
586588 def __len__ (self ):
587589 return len (self .data )
588590
589- def to_json (self , path_or_buf , _orient , lines ):
591+ def to_json (self , path_or_buf , orient , lines ):
592+ _ = orient
590593 # Handle both file-like objects and path strings (like real pandas)
591594 if hasattr (path_or_buf , "write" ):
592595 # It's a file-like object
@@ -631,7 +634,8 @@ def __init__(self, data):
631634 def __len__ (self ):
632635 return len (self .data )
633636
634- def to_json (self , path_or_buf , _orient , lines ):
637+ def to_json (self , path_or_buf , orient , lines ):
638+ _ = orient
635639 # Handle both file-like objects and path strings (like real pandas)
636640 if hasattr (path_or_buf , "write" ):
637641 # It's a file-like object
0 commit comments