-
-
Save wengole/a24a679f90c3d2370a64 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def extract_and_add(file_upload, obj, workspace=None, token=None): | |
| """Extracts temporary attachments from storage and attaches them into `obj` | |
| Extract file data `from file_upload`, create file/image objects and add | |
| them as attachments to ``obj``. If workspace and token are given, reuse | |
| previously uploaded temporary attachments if they exist. | |
| """ | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def has_pdf(obj): | |
| pass | |
| def has_preview(obj): | |
| pass | |
| def has_thumb(obj): | |
| pass | |
| def get_pdf(obj): | |
| pass | |
| def get_preview(obj): | |
| pass | |
| def get_thumb(obj): | |
| pass | |
| def generate_pdf(obj, request): | |
| pass | |
| def generate_preview(obj, request): | |
| pass | |
| def generate_thumb(obj, request): | |
| pass | |
| def generate_all(obj, request): | |
| pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment