opengemini-client-python
opengemini-client-python copied to clipboard
`points` field in the BatchPoints class should not only support `List`
The type of the 'points' field in the BatchPoints class is currently defined as a list, which is somewhat restrictive. In reality, it only needs to be an iterable that can be used for iteration in loops.
Especially in list comprehensions, delaying content generation and only generating content during actual iteration is an effective performance optimization technique. The current implementation is hindering such optimizations.