> ## Documentation Index
> Fetch the complete documentation index at: https://codegeninc-codegen-bot-sdk-docs-2-0.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# UsageKind

> SymbolUsageType is an enumeration class that defines different types of symbol usage within Python code.

export const Attribute = ({type, description}) => <div className="pl-4 py-6 first:pt-3 dark:border-zinc-300/[0.06] text-sm font-normal">
    <div className="inline-grid grid-cols-[auto_auto] gap-1 font-mono py-2">
      {type}
    </div>
    <p className="mt-2">{description}</p>
  </div>;

export const GithubLinkNote = ({link}) => <Info>
      <div className="flex gap-2 items-center">View Source on <a target="_blank" rel="noopener noreferrer" href={link}>Github</a></div>
   </Info>;

export const HorizontalDivider = ({light = false}) => <div className="divide-y">
        <div className={`divide-y ${light ? "dark:border-zinc-300/[0.06]" : "border-zinc-600"}`}></div>
        <div className={`divide-y ${light ? "dark:border-zinc-300/[0.06]" : "border-zinc-600"}`}></div>
    </div>;

export const Return = ({return_type, description}) => <div className="pl-6 divide-y">
    <h4 className="font-bold">Returns</h4>
    <div className="dark:border-zinc-300/[0.06] ">
        <div className="py-6 first:pt-3 text-sm font-normal">
            <div className="flex gap-4 items-center">
                <div className="inline-grid grid-cols-[auto_auto] gap-1 font-mono py-2">
                    {return_type}
                </div>
            </div>
            <p className="mt-2">{description}</p>
        </div>
    </div>
  </div>;

export const ParameterWrapper = ({children}) => <div className="pl-6 divide-y">
    <h4 className="font-bold">Parameters</h4>
    <div className="divide-y dark:border-zinc-300/[0.06]">
      {children}
    </div>
  </div>;

export const Parameter = ({name, type, description, defaultValue}) => <div className="py-6 first:pt-3 dark:border-zinc-300/[0.06] text-sm font-normal">
    <div className="flex justify-between items-start font-mono">
      <div className="flex gap-4 items-start">
        <div className="flex gap-1 items-center text-sm text-primary mt-2">
          {name}
        </div>
        <div className="inline-grid grid-cols-[auto_auto] gap-1 py-2">
          {type}
        </div>
      </div>

      <div className="flex-shrink-0 mt-2">
        {defaultValue ? <div className="flex gap-1 items-center text-sm border border-purple-500 px-2 py-0.5 rounded">
            <span className="text-zinc-500">default:</span>
            <span className="text-purple-500">{defaultValue}</span>
          </div> : <span className="text-sm border border-purple-500 px-2 py-0.5 rounded">
            required
          </span>}
      </div>
    </div>
    <p className="mt-2">{description}</p>
  </div>;

<GithubLinkNote link="https://github.com/codegen-sh/codegen/blob/develop/src/codegen/sdk/core/dataclasses/usage.py#L61-L92" />

## Attributes

<HorizontalDivider />

### <span className="text-primary">BODY</span>

<HorizontalDivider light={true} />

<Attribute type={ <span></span> } description="Usage within the body of a function/method." />

### <span className="text-primary">DECORATOR</span>

<HorizontalDivider light={true} />

<Attribute type={ <span></span> } description="Usage within a decorator." />

### <span className="text-primary">DEFAULT\_VALUE</span>

<HorizontalDivider light={true} />

<Attribute type={ <span></span> } description="Represents a default value in a function/method parameter." />

### <span className="text-primary">EXPORTED\_SYMBOL</span>

<HorizontalDivider light={true} />

<Attribute type={ <span></span> } description="Used in an export statement." />

### <span className="text-primary">EXPORTED\_WILDCARD</span>

<HorizontalDivider light={true} />

<Attribute type={ <span></span> } description="Re-exported by a wildcard export." />

### <span className="text-primary">GENERIC</span>

<HorizontalDivider light={true} />

<Attribute type={ <span></span> } description="Used as a type parameter to another type." />

### <span className="text-primary">IMPORTED</span>

<HorizontalDivider light={true} />

<Attribute type={ <span></span> } description="Imported with an import statement." />

### <span className="text-primary">IMPORTED\_WILDCARD</span>

<HorizontalDivider light={true} />

<Attribute type={ <span></span> } description="Imported with a wildcard import statement." />

### <span className="text-primary">RETURN\_TYPE</span>

<HorizontalDivider light={true} />

<Attribute type={ <span></span> } description="Used as a return type annotation." />

### <span className="text-primary">SUBCLASS</span>

<HorizontalDivider light={true} />

<Attribute type={ <span></span> } description="Used in symbol inheritance." />

### <span className="text-primary">TYPED\_PARAMETER</span>

<HorizontalDivider light={true} />

<Attribute type={ <span></span> } description="Used as a typed parameter in a function/method." />

### <span className="text-primary">TYPE\_ANNOTATION</span>

<HorizontalDivider light={true} />

<Attribute type={ <span></span> } description="Used as a type annotation on a parameter or assignment statement." />

### <span className="text-primary">TYPE\_DEFINITION</span>

<HorizontalDivider light={true} />

<Attribute type={ <span></span> } description="Used in a type alias." />
