@@ -1006,7 +1006,6 @@ def to_timestamp_op_impl(x: ibis_types.Value, op: ops.ToTimestampOp):
10061006 else timestamp (x )
10071007 )
10081008 elif x .type () == ibis_dtypes .Timestamp (None ): # type: ignore
1009-
10101009 return timestamp (x )
10111010 else :
10121011 # Numerical inputs.
@@ -1908,7 +1907,6 @@ def struct_op_impl(
19081907def ai_generate (
19091908 * values : ibis_types .Value , op : ops .AIGenerate
19101909) -> ibis_types .StructValue :
1911-
19121910 return ai_ops .AIGenerate (
19131911 _construct_prompt (values , op .prompt_context ), # type: ignore
19141912 op .connection_id , # type: ignore
@@ -1923,7 +1921,6 @@ def ai_generate(
19231921def ai_generate_bool (
19241922 * values : ibis_types .Value , op : ops .AIGenerateBool
19251923) -> ibis_types .StructValue :
1926-
19271924 return ai_ops .AIGenerateBool (
19281925 _construct_prompt (values , op .prompt_context ), # type: ignore
19291926 op .connection_id , # type: ignore
@@ -1937,7 +1934,6 @@ def ai_generate_bool(
19371934def ai_generate_int (
19381935 * values : ibis_types .Value , op : ops .AIGenerateInt
19391936) -> ibis_types .StructValue :
1940-
19411937 return ai_ops .AIGenerateInt (
19421938 _construct_prompt (values , op .prompt_context ), # type: ignore
19431939 op .connection_id , # type: ignore
@@ -1951,7 +1947,6 @@ def ai_generate_int(
19511947def ai_generate_double (
19521948 * values : ibis_types .Value , op : ops .AIGenerateDouble
19531949) -> ibis_types .StructValue :
1954-
19551950 return ai_ops .AIGenerateDouble (
19561951 _construct_prompt (values , op .prompt_context ), # type: ignore
19571952 op .connection_id , # type: ignore
@@ -1963,7 +1958,6 @@ def ai_generate_double(
19631958
19641959@scalar_op_compiler .register_nary_op (ops .AIIf , pass_op = True )
19651960def ai_if (* values : ibis_types .Value , op : ops .AIIf ) -> ibis_types .StructValue :
1966-
19671961 return ai_ops .AIIf (
19681962 _construct_prompt (values , op .prompt_context ), # type: ignore
19691963 op .connection_id , # type: ignore
@@ -1974,7 +1968,6 @@ def ai_if(*values: ibis_types.Value, op: ops.AIIf) -> ibis_types.StructValue:
19741968def ai_classify (
19751969 * values : ibis_types .Value , op : ops .AIClassify
19761970) -> ibis_types .StructValue :
1977-
19781971 return ai_ops .AIClassify (
19791972 _construct_prompt (values , op .prompt_context ), # type: ignore
19801973 op .categories , # type: ignore
@@ -1984,7 +1977,6 @@ def ai_classify(
19841977
19851978@scalar_op_compiler .register_nary_op (ops .AIScore , pass_op = True )
19861979def ai_score (* values : ibis_types .Value , op : ops .AIScore ) -> ibis_types .StructValue :
1987-
19881980 return ai_ops .AIScore (
19891981 _construct_prompt (values , op .prompt_context ), # type: ignore
19901982 op .connection_id , # type: ignore
0 commit comments