---
title: sentinel | CodeWeaver Docs
description: API reference for codeweaver.core.types.sentinel
url: "https://docs.knitli.com/api/core/types/sentinel"
type: static
generatedAt: "2026-04-17T17:21:08.217Z"
---

# sentinel
       [Open in ChatGPT](https://chatgpt.com/?q=Read%20https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fcore%2Ftypes%2Fsentinel%2F.%20I%20want%20to%20ask%20questions%20about%20it.)[Open in Claude](https://claude.ai/new?q=Read%20https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fcore%2Ftypes%2Fsentinel%2F.%20I%20want%20to%20ask%20questions%20about%20it.)[View in Markdown](/codeweaver/api/core/types/sentinel.md)       [Share on LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fcore%2Ftypes%2Fsentinel%2F)[Share on X](https://x.com/intent/tweet?url=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fcore%2Ftypes%2Fsentinel%2F&text=sentinel)[Share on Threads](https://threads.net/intent/post?url=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fcore%2Ftypes%2Fsentinel%2F&text=sentinel)[Share on Bluesky](https://bsky.app/intent/compose?text=sentinel%20https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fcore%2Ftypes%2Fsentinel%2F)[Share on Facebook](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fcore%2Ftypes%2Fsentinel%2F)[Share on Reddit](https://reddit.com/submit?url=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fcore%2Ftypes%2Fsentinel%2F&title=sentinel)[Share on Hacker News](https://news.ycombinator.com/submitlink?u=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fcore%2Ftypes%2Fsentinel%2F&t=sentinel)[Share on Email](mailto:?subject=sentinel&body=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fcore%2Ftypes%2Fsentinel%2F)[Share on WhatsApp](https://wa.me/?text=sentinel%20https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fcore%2Ftypes%2Fsentinel%2F)[Share on Telegram](https://t.me/share/url?url=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fcore%2Ftypes%2Fsentinel%2F&text=sentinel)
# `codeweaver.core.types.sentinel`
[Section titled “codeweaver.core.types.sentinel”](#codeweavercoretypessentinel)
Defines a unique sentinel object for use as a default value in function arguments and other scenarios.

## Class: `DontGenerateJsonSchema`
[Section titled “Class: DontGenerateJsonSchema”](#class-dontgeneratejsonschema)
GenerateJsonSchema implementation that disables JSON Schema generation.

### Method: `generate`
[Section titled “Method: generate”](#method-generate)

**

```
generate()
```

Disable JSON Schema generation by raising an error.

## Class: `Missing`
[Section titled “Class: Missing”](#class-missing)
Sentinel for missing values.

## Class: `Sentinel`
[Section titled “Class: Sentinel”](#class-sentinel)
Create a unique sentinel object. …

## Class: `Unset`
[Section titled “Class: Unset”](#class-unset)
A sentinel value to indicate that a value is unset. Used as a default value in function arguments to distinguish between an explicit `None` value and an uninitialized parameter.