WorkingDirectory
autogen.environments.working_directory.WorkingDirectory #
Context manager for changing the current working directory.
Initialize with a directory path.
PARAMETER | DESCRIPTION |
---|---|
path | The directory path to change to. TYPE: |
Source code in autogen/environments/working_directory.py
create_tmp classmethod
#
Create a temporary directory and return a WorkingDirectory instance for it.
Source code in autogen/environments/working_directory.py
get_current_working_directory classmethod
#
Get the current working directory or the specified one if provided.