Save fitz.Document object in aws s3 #859
              
                Unanswered
              
          
                  
                    
                      ganeshnathan
                    
                  
                
                  asked this question in
                Looking for help
              
            Replies: 1 comment
-
| Figured out! For those who run into a similar issue.. here is what I did. Thanks to the write method. It converts the document to bytearray in memory. Plugged that as the body of the put method in s3 client. Volla! it worked. | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Team, can you please help how to save fitz.Document object in aws s3. I am able to save the document locally in my machine. However, when attempting to save it to s3, the s3.upload_file or s3.put methods don't accept fitz.Document object. Anyone has solved this?
Beta Was this translation helpful? Give feedback.
All reactions