@@ -447,10 +447,29 @@ class PythonRelAPIDetails:
447447β created_timestamp β TIMESTAMP WITH TIME ZONE β YES β NULL β NULL β NULL β
448448βββββββββββββββββββββ΄βββββββββββββββββββββββββββ΄ββββββββββ΄ββββββββββ΄ββββββββββ΄ββββββββββ
449449""" ,
450+ parameters = [
451+ PythonRelAPIParamDetails (
452+ parameter_name = "virtual_table_name" ,
453+ parameter_type = ["str" ],
454+ parameter_description = "The name to assign to the current relation when referenced in the SQL query." ,
455+ ),
456+ PythonRelAPIParamDetails (
457+ parameter_name = "sql_query" ,
458+ parameter_type = ["str" ],
459+ parameter_description = "The SQL query string that uses the virtual table name to query the relation." ,
460+ ),
461+ ],
450462 ),
451463 'set_alias' : PythonRelAPIDetails (
452464 example = "rel.set_alias('abc').select('abc.id')" ,
453465 result = 'In the SQL query, the alias will be `abc`' ,
466+ parameters = [
467+ PythonRelAPIParamDetails (
468+ parameter_name = "alias" ,
469+ parameter_type = ["str" ],
470+ parameter_description = "The alias name to assign to the relation." ,
471+ )
472+ ],
454473 ),
455474 'alias' : PythonRelAPIDetails (
456475 example = 'rel.alias' , result = 'unnamed_relation_43c808c247431be5'
@@ -474,6 +493,33 @@ class PythonRelAPIDetails:
474493β 08fdcbf8-4e53-4290-9e81-423af263b518 β value is uneven β 9 β 2025-04-09 15:49:20.642+02 β
475494ββββββββββββββββββββββββββββββββββββββββ΄ββββββββββββββββββ΄ββββββββ΄βββββββββββββββββββββββββββββ
476495""" ,
496+ parameters = [
497+ PythonRelAPIParamDetails (
498+ parameter_name = "max_width" ,
499+ parameter_type = ["int" ],
500+ parameter_description = "Maximum display width for the entire output in characters." ,
501+ ),
502+ PythonRelAPIParamDetails (
503+ parameter_name = "max_rows" ,
504+ parameter_type = ["int" ],
505+ parameter_description = "Maximum number of rows to display." ,
506+ ),
507+ PythonRelAPIParamDetails (
508+ parameter_name = "max_col_width" ,
509+ parameter_type = ["int" ],
510+ parameter_description = "Maximum number of characters to display per column." ,
511+ ),
512+ PythonRelAPIParamDetails (
513+ parameter_name = "null_value" ,
514+ parameter_type = ["str" ],
515+ parameter_description = "String to display in place of NULL values." ,
516+ ),
517+ PythonRelAPIParamDetails (
518+ parameter_name = "render_mode" ,
519+ parameter_type = ["object" ],
520+ parameter_description = "Render mode for displaying the output." ,
521+ ),
522+ ],
477523 ),
478524 'sql_query' : PythonRelAPIDetails (
479525 example = 'rel.sql_query()' ,
0 commit comments