See More

--- url: https://sqlrooms.org/api/python/functions/createPythonSlice.md --- [@sqlrooms/python](../index.md) / createPythonSlice # Function: createPythonSlice() > **createPythonSlice**(`__namedParameters?`): `StateCreator`<[`PythonSliceState`](../type-aliases/PythonSliceState.md)> Creates the Python slice. Runtime adapters stay outside persisted state. ## Parameters | Parameter | Type | | ------ | ------ | | `__namedParameters` | [`CreatePythonSliceOptions`](../type-aliases/CreatePythonSliceOptions.md) | ## Returns `StateCreator`<[`PythonSliceState`](../type-aliases/PythonSliceState.md)>