@@ -41,9 +41,7 @@ class DataOpArrow(Arrow):
4141
4242 """
4343
44- def __init__ (
45- self , pipeline , * , free_table_key = None
46- ):
44+ def __init__ (self , pipeline , * , free_table_key = None ):
4745 assert isinstance (pipeline , data_algebra .data_ops .ViewRepresentation )
4846 self .pipeline = pipeline
4947 t_used = pipeline .get_tables ()
@@ -71,7 +69,7 @@ def get_feature_names(self):
7169 def act_on (self , b , * , correct_ordered_first_call : bool = False ):
7270 """
7371 Apply self onto b.
74-
72+
7573 :param b: item to act on, or item that has been sent to self.
7674 :param correct_ordered_first_call: if True indicates this call is from __rshift__ or __rrshift__ and not the fallback paths.
7775 """
@@ -86,7 +84,9 @@ def act_on(self, b, *, correct_ordered_first_call: bool = False):
8684 excess = set (b .outgoing_columns ) - set (self .incoming_columns )
8785 if len (excess ) > 0 :
8886 raise ValueError ("extra incoming columns: " + str (excess ))
89- new_pipeline = self .pipeline .replace_leaves ({self .free_table_key : b .pipeline })
87+ new_pipeline = self .pipeline .replace_leaves (
88+ {self .free_table_key : b .pipeline }
89+ )
9090 new_pipeline .get_tables () # check tables are compatible
9191 res = DataOpArrow (
9292 pipeline = new_pipeline ,
@@ -148,9 +148,7 @@ def required_columns(self):
148148 return self .incoming_columns .copy ()
149149
150150 # noinspection PyMethodMayBeStatic
151- def format_end_description (
152- self , * , required_cols , align_right = 70 , sep_width = 2
153- ):
151+ def format_end_description (self , * , required_cols , align_right = 70 , sep_width = 2 ):
154152 in_rep = [str (c ) for c in required_cols ]
155153 in_rep = data_algebra .flow_text .flow_text (
156154 in_rep , align_right = align_right , sep_width = sep_width
0 commit comments