Skip to content

Glossary: AI App Interfaces

Decorator

Also written: decorators

A line starting with `@` above a function that wraps it in extra behavior. `@st.cache_data` is a decorator that adds caching.

Where the book teaches it

Related terms

@st.cache_data@st.cache_resource