milvus-logo
LFAI
< Docs
  • Python

Role()

This is the constructor method to create a role.

Invocation

Role(name, using="default", **kwargs)

Parameters

ParameterDescriptionTypeRequired
nameName of the roleStringTrue
usingAlias of the Milvus connection to be attached toStringFalse

Return

A new role object.

Properties

PropertyDescriptionType
nameName of the roleString
usingAlias of the Milvus connection to be attached toString
Feedback

Was this page helpful?