---
title: thunder.core.proxies.CollectionProxy
canonical: >-
  https://lightning.ai/docs/thunder/stable/api-reference/generated/thunder.core.proxies.CollectionProxy
---
# thunder.core.proxies.CollectionProxy {#thunder-core-proxies-collectionproxy}

### `class thunder.core.proxies.CollectionProxy(coll, *, name=None, tags=None)` {#thunder.core.proxies.CollectionProxy}

[\[source\]](https://github.com/Lightning-AI/lightning-thunder/blob/0.2.6/thunder/core/proxies.py#L466-L477)

Bases: `Proxy`

Parameters:

*   **coll** (_Any_) –
    
*   **name** ([_str_](https://docs.python.org/3/builtins/stdtypes.html#str "(in Python v3.15)") _|_ _None_) –
    
*   **tags** ([_set_](https://docs.python.org/3/builtins/stdtypes.html#set "(in Python v3.15)") _|_ _None_) –
    

#### `__init__(coll, *, name=None, tags=None)` {#thunder.core.proxies.CollectionProxy.__init__}

[\[source\]](https://github.com/Lightning-AI/lightning-thunder/blob/0.2.6/thunder/core/proxies.py#L469-L471)

Parameters:

*   **coll** ([_Any_](https://docs.python.org/3/library/typing.html#typing.Any "(in Python v3.15)")) –
    
*   **name** ([_Optional_](https://docs.python.org/3/library/typing.html#typing.Optional "(in Python v3.15)")_\[_[_str_](https://docs.python.org/3/builtins/stdtypes.html#str "(in Python v3.15)")_\]_) –
    
*   **tags** ([_Optional_](https://docs.python.org/3/library/typing.html#typing.Optional "(in Python v3.15)")_\[_[_set_](https://docs.python.org/3/builtins/stdtypes.html#set "(in Python v3.15)")_\]_) –
    

Methods

- [`__init__(coll, *[, name, tags])`](#thunder.core.proxies.CollectionProxy.__init__)
- `collection()` — rtype:Any
- `get_default_prefix()` — rtype:str
- `replace(**changes)` — Return a copy of the Proxy object with new values for the specified fields as given to the constructor as arguments.
- `replace_name([name, disambiguate])` — Return a copy of this proxy with the given name.
- `type_string()` — rtype:str

Attributes

- `name`
- `prefix` — Return the prefix for this proxy instance.
- `tags`

---

**Navigation**

- Parent: [Generated](/docs/thunder/0.2.6/api-reference/generated.md)
