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

# py_file_access

## *class* py\_file\_access.FileProvider

#### \_\_init\_\_()

Raises an exception
This class cannot be instantiated from Python

#### \_\_iter\_\_() → object

#### \_\_len\_\_() → int

#### *property* file\_access\_types

List available types of file access.

#### get\_item(arg2: [FileProviderId](#py_file_access.FileProviderId)) → [FileProviderItem](#py_file_access.FileProviderItem)

Get item by ID.

#### set\_item(arg2: [FileProviderItem](#py_file_access.FileProviderItem)) → bool

Set item.

## *class* py\_file\_access.FileProviderId

#### \_\_init\_\_()

#### \_\_str\_\_() → str

#### *property* name

Name

## *class* py\_file\_access.FileProviderItem

#### *class* Action

**Enumeration**

Enumerates possible FileProviderItem action types.

#### LOCAL\_COMPRESS\_GZ *= py\_file\_access.Action.LOCAL\_COMPRESS\_GZ*

#### LOCAL\_REMOVE *= py\_file\_access.Action.LOCAL\_REMOVE*

#### NONE *= py\_file\_access.Action.NONE*

#### RECEIVE *= py\_file\_access.Action.RECEIVE*

#### SEND *= py\_file\_access.Action.SEND*

#### *class* ActionPoint

**Enumeration**

Enumerates possible FileProviderItem action points.

#### CLOSE *= py\_file\_access.ActionPoint.CLOSE*

#### LOAD *= py\_file\_access.ActionPoint.LOAD*

#### NODE\_FAILED *= py\_file\_access.ActionPoint.NODE\_FAILED*

#### NODE\_FINISHED *= py\_file\_access.ActionPoint.NODE\_FINISHED*

#### NODE\_STARTED *= py\_file\_access.ActionPoint.NODE\_STARTED*

#### NODE\_SUCCEEDED *= py\_file\_access.ActionPoint.NODE\_SUCCEEDED*

#### NONE *= py\_file\_access.ActionPoint.NONE*

#### RUN\_FINISHED *= py\_file\_access.ActionPoint.RUN\_FINISHED*

#### RUN\_STARTED *= py\_file\_access.ActionPoint.RUN\_STARTED*

#### SAVE *= py\_file\_access.ActionPoint.SAVE*

#### *class* Existence

**Enumeration**

Enumerates possible FileProviderItem file existence options.

#### DONT\_CARE *= py\_file\_access.Existence.DONT\_CARE*

#### INDICATES\_FAILURE *= py\_file\_access.Existence.INDICATES\_FAILURE*

#### REQUIRED\_FOR\_SUCCESS *= py\_file\_access.Existence.REQUIRED\_FOR\_SUCCESS*

#### *class* Usage

**Enumeration**

Enumerates possible FileProviderItem usage types.

#### INPUT\_FILE *= py\_file\_access.Usage.INPUT\_FILE*

#### INTERMEDIATE\_RESULT *= py\_file\_access.Usage.INTERMEDIATE\_RESULT*

#### OUTPUT\_FILE *= py\_file\_access.Usage.OUTPUT\_FILE*

#### UNDETERMINED *= py\_file\_access.Usage.UNDETERMINED*

#### \_\_init\_\_()

#### *property* action

Action to be performed

#### *property* action\_point

Point in time for the action to be performed

#### *property* auto\_generated

Whether file is auto-generated

#### *property* comment

Free text for comments

#### *property* existence

Option controlling whether the local file existence is required

#### *property* filename\_regex

Option controlling the regular expression for filename matching

#### *property* id

ID

#### *property* local\_path

RelativeSplittedPath on the local system

#### *property* name

Item name

#### *property* remove\_on\_reset

Whether file should be removed when associated node is reset

#### *property* revision

Revision

#### *property* save\_location

Save location

#### *property* store\_in\_project

Whether to store file in project

#### *property* type

Access type

#### *property* usage

File usage

#### *property* use\_regex\_for\_filename

Whether to match filenames against a regular expression when checking for local files existence

#### *property* wait\_for\_file

Whether to wait for the file after the node finished execution

## *class* py\_file\_access.ProvidedPath

#### \_\_init\_\_()

#### \_\_init\_\_(arg2: [Path](https://developer.synopsys.com/docs/optislang/optislang-python-api/2025-r2/modules/stdcpp_python_export.md#stdcpp_python_export.Path))

#### \_\_init\_\_(arg2: [SplittedPath](https://developer.synopsys.com/docs/optislang/optislang-python-api/2025-r2/modules/stdcpp_python_export.md#stdcpp_python_export.SplittedPath))

#### \_\_init\_\_(arg2: [RelativeSplittedPath](https://developer.synopsys.com/docs/optislang/optislang-python-api/2025-r2/modules/stdcpp_python_export.md#stdcpp_python_export.RelativeSplittedPath))

#### \_\_init\_\_(arg2: [FileProviderId](#py_file_access.FileProviderId))

#### \_\_str\_\_() → str

#### *property* actual\_relative\_split\_path

Actual RelativeSplittedPath. Takes central file registration into account.

#### *property* empty

True if ProvidedPath is empty

#### *property* file\_provider\_id

A FileProviderId in case a FileProviderId is contained, or None otherwise.

#### get\_actual\_path(file\_provider: FileProvider) → [Path](https://developer.synopsys.com/docs/optislang/optislang-python-api/2025-r2/modules/stdcpp_python_export.md#stdcpp_python_export.Path)

Return the actual file path. Takes central file registration into account.

#### *property* relative\_split\_path

A RelativeSplittedPath in case a RelativeSplittedPath is contained, or None otherwise.
