Skip to content

Glossary: RAG Basics

@classmethod

Also written: classmethod

A Python decorator that makes a method belong to the class instead of one object, so you call it as `Index.load("index")`. The method receives the class as `cls`.

Where the book teaches it

Related terms

Decorator