databutton 0.31.5__tar.gz → 0.31.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {databutton-0.31.5 → databutton-0.31.6}/PKG-INFO +1 -1
- {databutton-0.31.5 → databutton-0.31.6}/databutton/notify/email.py +3 -0
- {databutton-0.31.5 → databutton-0.31.6}/databutton/version.py +1 -1
- {databutton-0.31.5 → databutton-0.31.6}/pyproject.toml +1 -1
- {databutton-0.31.5 → databutton-0.31.6}/LICENSE +0 -0
- {databutton-0.31.5 → databutton-0.31.6}/README.md +0 -0
- {databutton-0.31.5 → databutton-0.31.6}/databutton/__init__.py +0 -0
- {databutton-0.31.5 → databutton-0.31.6}/databutton/cachetools.py +0 -0
- {databutton-0.31.5 → databutton-0.31.6}/databutton/internal/__init__.py +0 -0
- {databutton-0.31.5 → databutton-0.31.6}/databutton/internal/auth.py +0 -0
- {databutton-0.31.5 → databutton-0.31.6}/databutton/internal/byteutils.py +0 -0
- {databutton-0.31.5 → databutton-0.31.6}/databutton/internal/dbapiclient.py +0 -0
- {databutton-0.31.5 → databutton-0.31.6}/databutton/internal/headers.py +0 -0
- {databutton-0.31.5 → databutton-0.31.6}/databutton/internal/httpxclient.py +0 -0
- {databutton-0.31.5 → databutton-0.31.6}/databutton/internal/performedby.py +0 -0
- {databutton-0.31.5 → databutton-0.31.6}/databutton/internal/retries.py +0 -0
- {databutton-0.31.5 → databutton-0.31.6}/databutton/jobs/__init__.py +0 -0
- {databutton-0.31.5 → databutton-0.31.6}/databutton/jobs/run.py +0 -0
- {databutton-0.31.5 → databutton-0.31.6}/databutton/notify/__init__.py +0 -0
- {databutton-0.31.5 → databutton-0.31.6}/databutton/notify/send.py +0 -0
- {databutton-0.31.5 → databutton-0.31.6}/databutton/secrets/__init__.py +0 -0
- {databutton-0.31.5 → databutton-0.31.6}/databutton/secrets/secrets.py +0 -0
- {databutton-0.31.5 → databutton-0.31.6}/databutton/storage/__init__.py +0 -0
- {databutton-0.31.5 → databutton-0.31.6}/databutton/storage/storage.py +0 -0
- {databutton-0.31.5 → databutton-0.31.6}/databutton/user.py +0 -0
@@ -303,6 +303,9 @@ def attachment_from_dataframe(
|
|
303
303
|
if pandas_kwargs is None:
|
304
304
|
pandas_kwargs = {}
|
305
305
|
|
306
|
+
if content_type is None:
|
307
|
+
content_type, encoding = mimetypes.guess_type("f" + ext)
|
308
|
+
|
306
309
|
if ext == ".csv":
|
307
310
|
df.to_csv(buf, **pandas_kwargs)
|
308
311
|
elif ext == ".xlsx":
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|