FileManager
The FileManager feature simplifies the use of local files with relative paths, ensuring compatibility across different environments (server and client).
Usage
Implement the FileManager in Your Class
In your class, declare the file_path
using the FileManager.get_path
method. This method allows you to specify a relative file path, which will be appropriately adjusted for the running environment.
Warning
Class Variable Declaration: Ensure the
file_path
is declared as a class variable, not within the__init__
method.Experimental Feature: This feature is currently in the research phase and can be used for validation purposes. However, it does not guarantee production-level reliability.
By following these simple steps, you can efficiently manage local files with FileManager
.
Last updated
Was this helpful?