numerous.sdk.connect.file_manager module#
- class numerous.sdk.connect.file_manager.FileManager(spm_client, project_id, scenario_id)#
Bases:
object- upload_bytes(file_name, content, content_type=None)#
Uploads the given content with the given file name, as the content type if specified.
- upload_path(path)#
Uploads the file at the given path, inferring the content type.
- Parameters:
path¶ (
str) –- Return type:
None
- upload_stream(file_name, stream, content_type=None)#
Uploads the content read from the given content stream. Uses the given file name, and content type, if specified.
- class numerous.sdk.connect.file_manager.FileUploadContext(file_manager, file_name)#
Bases:
object