Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Better attachments interface #41

@garbados

Description

@garbados

Something like this:

with open('...', 'r') as f:
    response = document.attachment('filename').put(f)

So you can put any file-like object as an attachment without doing any Base64 nonsense by your lonesome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions