str_to_file#
- str_to_file(content_str: str, uri: str, fs: rastervision.pipeline.file_system.file_system.FileSystem | None = None)[source]#
Writes string to text file.
- Parameters:
content_str (str) – string to write
uri (str) – URI of file to write
fs (rastervision.pipeline.file_system.file_system.FileSystem | None) – if supplied, use fs instead of automatically chosen FileSystem
- Raises:
NotWritableError if uri cannot be written –