跳到主要内容
版本:v2.6.x

create_struct_field_schema()

This operation creates a struct field schema.

Request syntax​

Python
MilvusClient.create_struct_field_schema() -> StructFieldSchema

This is a class method. You should call this method like this: MilvusClient.create_struct_field_schema().

PARAMETERS:

This operation has no parameters.

RETURN TYPE:

StructFieldSchema

RETURNS:

The created struct field schema.

Example​

Python
from pymilvus import MilvusClient

struct_schema = MilvusClient.create_struct_field_schema()