Callback

class Callback(d: dict[str, PathItem] = None)

A map of possible out-of band callbacks related to the parent operation. Each value in the map is a Path Item Object that describes a set of requests that may be initiated by the API provider and the expected responses. The key value used to identify the Path Item Object is an expression, evaluated at runtime, that identifies a URL to use for the callback operation.

— NOTE: Due to the nature of this type there are no properties defined, instead, developers accessing this type should prefer indexer syntax, as if it were a dictionary of PathItem types.

get(key: str, default: PathItem = None) PathItem | None

Gets the value for the given key.