milvus-logo
LFAI
< Docs
  • Python

describe_collection()

This method describes details on a specific collection.

Invocation

describe_collection(collection_name)

Parameters

ParameterDescriptionTypeRequired
collection_nameName of the collection to describe.StringTrue

Return

A list of dictionaries.

Raises

ValueError: Error if the collection is missing.

Example

from pymilvus import MilvusClient

client = MilvusClient(uri, token)

client.describe_collection(collection_name='medium_articles')