strawberry.Private

Represents a field that won’t be exposed in the GraphQL schema.

Example:

import strawberry
@strawberry.type
class User:
name: str
age: strawberry.Private[int]