milvus-io / pymilvus

Python SDK for Milvus.
Apache License 2.0
1.03k stars 326 forks source link

[Bug]: It reports error when input valid value to parameter "group_name" of interface "create_privilege_group" #2353

Open binbinlv opened 2 hours ago

binbinlv commented 2 hours ago

Is there an existing issue for this?

Describe the bug

It reports error when input valid value to parameter "group_name" of interface "create_privilege_group"

Expected Behavior

Create privilege group successfully

Steps/Code To Reproduce behavior

from pymilvus import MilvusClient
milvus_client = MilvusClient()
milvus_client.create_privilege_group(group_name="groupname")

Environment details

- Hardware/Softward conditions (OS, CPU, GPU, Memory):
- Method of installation (Docker, or from source):
- Milvus version (v0.3.1, or v0.4.0):  master-20241115-d1596297-amd64
- Pymilvus version: 2.5.0rc121
- Milvus configuration (Settings you made in `server_config.yaml`):

Anything else?

No response

binbinlv commented 2 hours ago

And "drop_privilege_group", "add_privileges_to_group", "remove_privileges_from_group" have the same issue too.