how to upload image through python-eve to some external storage server e.g. S3? -
I know we can now upload / post a media type field in the While storing on grids, you can provide your own Something similar does this: check jobs See the actual class for the actual class and / or reference for the details of the investigation. python-eve REST-API framework. and it will be stored in
mongodb . Is there any way we can change the storage of those media? Such as a remote storage server eg
Amazon S3 ? So that we can store the image's URL in mongodb instead of just the whole picture?
MediaStorage
eve.io MediaStage Class from Media Import: AmazonS3MediaStorage (Mediastorage): "" Your Real Execution "" "App App = EV (Media = Amazon S3 Media Storage) If __name__ == '__main__': app.run () < / Pre>
Comments
Post a Comment