File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ def __init__(self, catalog: df_internal.Catalog) -> None:
3636
3737 def __repr__ (self ) -> str :
3838 """Print a string representation of the catalog."""
39- self .catalog .__repr__ ()
39+ return self .catalog .__repr__ ()
4040
4141 def names (self ) -> list [str ]:
4242 """Returns the list of databases in this catalog."""
@@ -56,7 +56,7 @@ def __init__(self, db: df_internal.Database) -> None:
5656
5757 def __repr__ (self ) -> str :
5858 """Print a string representation of the database."""
59- self .db .__repr__ ()
59+ return self .db .__repr__ ()
6060
6161 def names (self ) -> set [str ]:
6262 """Returns the list of all tables in this database."""
@@ -76,7 +76,7 @@ def __init__(self, table: df_internal.Table) -> None:
7676
7777 def __repr__ (self ) -> str :
7878 """Print a string representation of the table."""
79- self .table .__repr__ ()
79+ return self .table .__repr__ ()
8080
8181 @property
8282 def schema (self ) -> pa .Schema :
Original file line number Diff line number Diff line change @@ -498,7 +498,7 @@ def __init__(
498498
499499 def __repr__ (self ) -> str :
500500 """Print a string representation of the Session Context."""
501- self .ctx .__repr__ ()
501+ return self .ctx .__repr__ ()
502502
503503 @classmethod
504504 def global_ctx (cls ) -> SessionContext :
Original file line number Diff line number Diff line change @@ -1174,7 +1174,7 @@ def __init__(
11741174
11751175 def __repr__ (self ) -> str :
11761176 """Print a string representation of the window frame."""
1177- self .window_frame .__repr__ ()
1177+ return self .window_frame .__repr__ ()
11781178
11791179 def get_frame_units (self ) -> str :
11801180 """Returns the window frame units for the bounds."""
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ def __init__(
104104
105105 def __repr__ (self ) -> str :
106106 """Print a string representation of the Scalar UDF."""
107- self ._udf .__repr__ ()
107+ return self ._udf .__repr__ ()
108108
109109 def __call__ (self , * args : Expr ) -> Expr :
110110 """Execute the UDF.
@@ -274,7 +274,7 @@ def __init__(
274274
275275 def __repr__ (self ) -> str :
276276 """Print a string representation of the Aggregate UDF."""
277- self ._udaf .__repr__ ()
277+ return self ._udaf .__repr__ ()
278278
279279 def __call__ (self , * args : Expr ) -> Expr :
280280 """Execute the UDAF.
@@ -614,7 +614,7 @@ def __init__(
614614
615615 def __repr__ (self ) -> str :
616616 """Print a string representation of the Window UDF."""
617- self ._udwf .__repr__ ()
617+ return self ._udwf .__repr__ ()
618618
619619 def __call__ (self , * args : Expr ) -> Expr :
620620 """Execute the UDWF.
You can’t perform that action at this time.
0 commit comments