> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wandb.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# コードキャプチャを無効にするにはどうすればよいですか？

コードキャプチャを無効にするには、次のいずれかの方法を使用します。

* W\&B Weave クライアントの初期化時に、`capture_code` を `False` に設定します：`weave.init("entity/project", settings={"capture_code": False})`。
* [環境変数](/ja/weave/guides/core-types/env-vars) `WEAVE_CAPTURE_CODE=false` を設定します。

***

<Badge stroke shape="pill" color="orange" size="md">[コードキャプチャ](/ja/support/weave/tags/code-capture)</Badge>
