kleinkram 0.51.0.dev20251010055743__py3-none-any.whl → 0.51.0.dev20251010060734__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.

Potentially problematic release.


This version of kleinkram might be problematic. Click here for more details.

kleinkram/cli/_upload.py CHANGED
@@ -13,6 +13,7 @@ from kleinkram.api.query import MissionQuery
13
13
  from kleinkram.api.query import ProjectQuery
14
14
  from kleinkram.config import get_shared_state
15
15
  from kleinkram.errors import FileNameNotSupported
16
+ from kleinkram.errors import DatatypeNotSupported
16
17
  from kleinkram.errors import MissionNotFound
17
18
  from kleinkram.utils import load_metadata
18
19
  from kleinkram.utils import split_args
@@ -70,8 +71,7 @@ def upload(
70
71
 
71
72
  if not experimental_datatypes:
72
73
  if file.suffix.lower() in EXPERIMENTAL_DATATYPES:
73
- # NOTE: Assuming a 'DatatypeNotSupported' exception exists/is defined
74
- raise FileNameNotSupported(
74
+ raise DatatypeNotSupported(
75
75
  f"Datatype '{file.suffix}' for file {file} is not supported without the "
76
76
  f"`--experimental-datatypes` flag. "
77
77
  )
kleinkram/errors.py CHANGED
@@ -43,6 +43,9 @@ class FileTypeNotSupported(Exception): ...
43
43
  class FileNameNotSupported(Exception): ...
44
44
 
45
45
 
46
+ class DatatypeNotSupported(Exception): ...
47
+
48
+
46
49
  class InvalidMissionMetadata(Exception): ...
47
50
 
48
51
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kleinkram
3
- Version: 0.51.0.dev20251010055743
3
+ Version: 0.51.0.dev20251010060734
4
4
  Summary: give me your bags
5
5
  Author: Cyrill Püntener, Dominique Garmier, Johann Schwabe
6
6
  Author-email: pucyril@ethz.ch, dgarmier@ethz.ch, jschwab@ethz.ch
@@ -4,7 +4,7 @@ kleinkram/_version.py,sha256=QYJyRTcqFcJj4qWYpqs7WcoOP6jxDMqyvxLY-cD6KcE,129
4
4
  kleinkram/auth.py,sha256=PdSYZZO8AauNLZbn9PBgPM3o-O_nwoOKTj94EGnPRE8,3003
5
5
  kleinkram/config.py,sha256=nx6uSM5nLP4SKe8b9VAx4KDtCCwtyshXmzbEJcUwpsY,7411
6
6
  kleinkram/core.py,sha256=N91W_IRw7yH9pR-_wAmaVjcGgiz0xF7QwG20863oOiY,9760
7
- kleinkram/errors.py,sha256=WrEOpSwOUr-_waaQ237E6Gm1P5A2OrI55g6Q6iGgkNk,1012
7
+ kleinkram/errors.py,sha256=C0P7Clw-wLIo9v03aRP2B5_2GjctzlinIFIFe7qZ9OQ,1057
8
8
  kleinkram/main.py,sha256=BTE0mZN__xd46wBhFi6iBlK9eGGQvJ1LdUMsbnysLi0,172
9
9
  kleinkram/models.py,sha256=0C_TharLDHA4RCe6Plas9N_uO_teN1Z4iP70WljOAfs,1899
10
10
  kleinkram/printing.py,sha256=9o4UQq9MYkGwMIlTchbdMLjUROdJWB100Lq1b3OFfko,12280
@@ -26,7 +26,7 @@ kleinkram/cli/_file.py,sha256=Q2fLDdUyfHFmdGC6wIxMqgEl0F76qszhzWJrRV5rTBM,2973
26
26
  kleinkram/cli/_list.py,sha256=5gI3aIUeKC0_eWPQqdFXSBBFvpkTTJSm31TamHa197c,3090
27
27
  kleinkram/cli/_mission.py,sha256=3ZMPRlPZIvJwmFQqeXu6N8DcmYtSVGj4xWHuAdKAlsc,5845
28
28
  kleinkram/cli/_project.py,sha256=tvVwcNaBYKZhIh6KjPcdyyTmaep6y-GvG_sV7O49Ov0,3416
29
- kleinkram/cli/_upload.py,sha256=8gKg_QIFUJh4Sz06EEX3gQoa3Rl41KTdZWqtsntypJU,3531
29
+ kleinkram/cli/_upload.py,sha256=EFxbf4SNLuse_lPt0EIpfQLB-1pw7-oHNLdjxLrdMYE,3491
30
30
  kleinkram/cli/_verify.py,sha256=n9QThY0JnqaIqw6udYXdRQGcpUl2lIbFXGQIgpTnDPE,2112
31
31
  kleinkram/cli/app.py,sha256=Yetkt2jd6cggor7mPpV9Lcp6aLd45rACdF1nBW0uy9k,7546
32
32
  kleinkram/cli/error_handling.py,sha256=wK3tzeKVSrZm-xmiyzGLnGT2E4TRpyxhaak6GWGP7P8,1921
@@ -43,8 +43,8 @@ tests/test_printing.py,sha256=kPzpIQOtQJ9yQ32mM8cMGDVOGsbrZZLQhfsXN1Pe68Q,2231
43
43
  tests/test_query.py,sha256=fExmCKXLA7-9j2S2sF_sbvRX_2s6Cp3a7OTcqE25q9g,3864
44
44
  tests/test_utils.py,sha256=eUBYrn3xrcgcaxm1X4fqZaX4tRvkbI6rh6BUbNbu9T0,4784
45
45
  tests/test_wrappers.py,sha256=TbcTyO2L7fslbzgfDdcVZkencxNQ8cGPZm_iB6c9d6Q,2673
46
- kleinkram-0.51.0.dev20251010055743.dist-info/METADATA,sha256=09mxfAwJAQrgmlf7ZKFUMMHvxOrvOL-AzWg5CblTCFE,2846
47
- kleinkram-0.51.0.dev20251010055743.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
48
- kleinkram-0.51.0.dev20251010055743.dist-info/entry_points.txt,sha256=SaB2l5aqhSr8gmaMw2kvQU90a8Bnl7PedU8cWYxkfYo,46
49
- kleinkram-0.51.0.dev20251010055743.dist-info/top_level.txt,sha256=N3-sJagEHu1Tk1X6Dx1X1q0pLDNbDZpLzRxVftvepds,24
50
- kleinkram-0.51.0.dev20251010055743.dist-info/RECORD,,
46
+ kleinkram-0.51.0.dev20251010060734.dist-info/METADATA,sha256=o5nvRSzTnNPuX8Wu6Hk_rvwBwcmJPu3NpyoIQQtgEeg,2846
47
+ kleinkram-0.51.0.dev20251010060734.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
48
+ kleinkram-0.51.0.dev20251010060734.dist-info/entry_points.txt,sha256=SaB2l5aqhSr8gmaMw2kvQU90a8Bnl7PedU8cWYxkfYo,46
49
+ kleinkram-0.51.0.dev20251010060734.dist-info/top_level.txt,sha256=N3-sJagEHu1Tk1X6Dx1X1q0pLDNbDZpLzRxVftvepds,24
50
+ kleinkram-0.51.0.dev20251010060734.dist-info/RECORD,,