davidradl commented on code in PR #26385:
URL: https://github.com/apache/flink/pull/26385#discussion_r2022478102


##########
docs/content.zh/docs/dev/python/table/table_environment.md:
##########
@@ -199,6 +199,50 @@ TableEnvironment API
         {{< pythondoc 
file="pyflink.table.html#pyflink.table.TableEnvironment.drop_table" 
name="link">}}
       </td>
     </tr>
+    <tr>
+      <td>
+        <strong>create_model(model_path, model_descriptor, 
ignore_if_exists=False)</strong>
+      </td>
+      <td>
+        Registers a `Model` object as a model similar to SQL Models. 
+      </td>
+      <td class="text-center">
+        {{< pythondoc 
file="pyflink.table.html#pyflink.table.TableEnvironment.create_model" 
name="link">}}
+      </td>
+    </tr>
+    <tr>
+      <td>
+        <strong>create_temporary_model(model_path, model_descriptor, 
ignore_if_exists=False)</strong>
+      </td>
+      <td>
+        Registers a `Model` object as a temporary model similar to SQL 
temporary Models. 
+      </td>
+      <td class="text-center">
+        {{< pythondoc 
file="pyflink.table.html#pyflink.table.TableEnvironment.create_temporary_model" 
name="link">}}
+      </td>
+    </tr>
+    <tr>
+      <td>
+        <strong>drop_model(model_path, ignore_if_not_exists=True)</strong>
+      </td>
+      <td>
+        Drops a model registered in the given path.

Review Comment:
   we should mention the flag in this text



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to