files | Manage files and libs in User Environment | Open Analytics Framework - files - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
Language
English (United States)
Last Update
2024-04-03
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

Use the files class property to see a list of files installed in remote user environment.

This function does not have parameter and returns files present in remote user environment.

Example

  • Create a remote user environment.
    >>> env = create_env('testenv', 'python_3.7.9', 'Test environment')
    User environment testenv created.
  • Install file in the remote user environment.
    >>> env.install_file(file_path = 'data/scripts/mapper.py')
    File mapper.py installed successfully in the remote user environment testenv.
  • List files installed in the user environment.
    >>> env.files
            file    size    last_updated_dttm
    0   mapper.py   233     2020-08-06T21:59:22Z