<!-- # hard line break macro for HTML -->

# fiftyone.core.map.typing

Miscellaneous types

Copyright 2017-2026, Voxel51, Inc.
<br/>
[voxel51.com](https://voxel51.com/)
<br/>
<br/>

**Classes:**

| [`SampleCollection`](#fiftyone.core.map.typing.SampleCollection)(\*args, \*\*kwargs)   | Type for sample collection   |
|----------------------------------------------------------------------------------------|------------------------------|

### *class* fiftyone.core.map.typing.SampleCollection(\*args, \*\*kwargs)

Bases: `Protocol`[`T`]

Type for sample collection

**Methods:**

| [`iter_samples`](#fiftyone.core.map.typing.SampleCollection.iter_samples)()   |    |
|-------------------------------------------------------------------------------|----|
| [`values`](#fiftyone.core.map.typing.SampleCollection.values)()               |    |

#### iter_samples(\*args, \*\*kwargs) → Iterator[T]

#### values(key: Literal['id'], \_enforce_natural_order: [bool](fiftyone.core.stages.md#fiftyone.core.stages.Exists.bool) = False) → List[[ObjectId](https://pymongo.readthedocs.io/en/stable/api/bson/objectid.html#bson.objectid.ObjectId)]
