Wei Zhong created FLINK-15481:
---------------------------------

             Summary: The type hint of `TableEnvironment#from_elements` in 
`table_environment.py` is incomplete
                 Key: FLINK-15481
                 URL: https://issues.apache.org/jira/browse/FLINK-15481
             Project: Flink
          Issue Type: Bug
          Components: API / Python
    Affects Versions: 1.10.0
            Reporter: Wei Zhong
             Fix For: 1.10.0


The type hint of `TableEnvironment#from_elements` in `table_environment.py` is 
incomplete:
{code:java}
        :param elements: The elements to create a table from.
        :type elements: list
        :param schema: The schema of the table.
        :type schema: pyflink.table.types.DataType
        :param verify_schema: Whether to verify the elements against the schema.
        :type verify_schema: bool
        :return: The result table.
        :rtype: pyflink.table.Table
{code}

According to current usage the `:type schema:` could also be list[str].



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to