databutton 0.31.5__py3-none-any.whl → 0.31.7__py3-none-any.whl

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.
@@ -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":
databutton/version.py CHANGED
@@ -5,4 +5,4 @@ This module contains project version information.
5
5
  .. moduleauthor:: Databutton <support@databutton.com>
6
6
  """
7
7
 
8
- __version__ = "0.31.5"
8
+ __version__ = "0.31.7"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: databutton
3
- Version: 0.31.5
3
+ Version: 0.31.7
4
4
  Summary: The CLI for databutton.com
5
5
  License: Databutton
6
6
  Author: Databutton
@@ -11,15 +11,15 @@ databutton/internal/retries.py,sha256=OMxnreq1Icaf8OrtFPPNEZ8tCZe6HUI9fJ4FQ6Uiw-
11
11
  databutton/jobs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
12
  databutton/jobs/run.py,sha256=Td0BSiIrYKiymDKVf8w5MT3C5uiwzeulYNJUGcxQk2k,632
13
13
  databutton/notify/__init__.py,sha256=p6x5D_8q-EXQHS4TuK7_Dli_PdBRPowrQjKOA1_TaVk,386
14
- databutton/notify/email.py,sha256=TerKZkDyeZegz3H4hXz1ckitGEH8FRb7oISxHBoCBPw,12254
14
+ databutton/notify/email.py,sha256=Yq7UD7D_g2epeIPchLIQXXcq61rZqqIzSfRxggK-sXg,12349
15
15
  databutton/notify/send.py,sha256=cj-TG0jwolEXwJJVxeBxwpfg_it03KoImUn30qAbbQE,749
16
16
  databutton/secrets/__init__.py,sha256=sI0okrfRBs2l5tcLTrKc9uUfPVVRMM9D7WED8p226tI,128
17
17
  databutton/secrets/secrets.py,sha256=pehXsD09iKTxHaNQJ6awvIHXgRXBJrf4Xhrc11ZUeOk,3427
18
18
  databutton/storage/__init__.py,sha256=7ZNd4eQQ7lYYIe1MqCuFbFF1aAVCuj2c_zmJfaPVlDY,252
19
19
  databutton/storage/storage.py,sha256=XBy6z005K0KqmiTkq9eju87PgTboV-vPN1RRXuC57KI,17240
20
20
  databutton/user.py,sha256=QWyWV_G_bnfIJ9js2itOwBk4zqXgBUF9h8lf5mygef8,503
21
- databutton/version.py,sha256=zMOpeXiz__20k2Y-c5R1WJG5gfBAhpUPCP7qVzGEa18,175
22
- databutton-0.31.5.dist-info/LICENSE,sha256=c7h4pcVZapFEmqWoRTRv_S1P_aibrtDobqmlR-QtMUk,45
23
- databutton-0.31.5.dist-info/METADATA,sha256=zPq4FNj1GXGWx8kh5BP3gb-BgigonfES9MX82TVJSRU,2763
24
- databutton-0.31.5.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
25
- databutton-0.31.5.dist-info/RECORD,,
21
+ databutton/version.py,sha256=tU28daiZkrJZdwdWzDPhz8u9z8pXClTIGdYrMIFuF0A,175
22
+ databutton-0.31.7.dist-info/LICENSE,sha256=c7h4pcVZapFEmqWoRTRv_S1P_aibrtDobqmlR-QtMUk,45
23
+ databutton-0.31.7.dist-info/METADATA,sha256=OztQ965US36DW-tTvhfgDIPXS7nwTqKcWKc8RQaQpWM,2763
24
+ databutton-0.31.7.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
25
+ databutton-0.31.7.dist-info/RECORD,,