rapidata 2.28.3__py3-none-any.whl → 2.28.4__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 rapidata might be problematic. Click here for more details.

rapidata/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
- __version__ = "2.28.3"
1
+ __version__ = "2.28.4"
2
2
 
3
3
  from .rapidata_client import (
4
4
  RapidataClient,
@@ -74,7 +74,7 @@ class MediaAsset(BaseAsset):
74
74
  ValueError: If path is not a string.
75
75
  """
76
76
  if not isinstance(path, str):
77
- raise ValueError("Media must be a string, either a local file path or a URL")
77
+ raise ValueError(f"Media must be a string, either a local file path or a URL, got {type(path)}")
78
78
 
79
79
  self._url = None
80
80
  self._content = None
@@ -23,7 +23,7 @@ class TextAsset(BaseAsset):
23
23
  text (str): The textual content of the asset.
24
24
  """
25
25
  if not isinstance(text, str):
26
- raise ValueError("Text must be a string")
26
+ raise ValueError(f"Text must be a string, got {type(text)}")
27
27
 
28
28
  self.text = text
29
29
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: rapidata
3
- Version: 2.28.3
3
+ Version: 2.28.4
4
4
  Summary: Rapidata package containing the Rapidata Python Client to interact with the Rapidata Web API in an easy way.
5
5
  License: Apache-2.0
6
6
  Author: Rapidata AG
@@ -1,4 +1,4 @@
1
- rapidata/__init__.py,sha256=tkkDl4ArVbpEftLEdvpQ3-CQBs8-6zRAoshwoESnBYs,865
1
+ rapidata/__init__.py,sha256=ubgdF3Top99cxtrTEJwbyL1NLNHYYrdtnksoPgkT0Ns,865
2
2
  rapidata/api_client/__init__.py,sha256=Yu8jYnUr8-iRzZTI4QnLaKKsan0AG_-zd5yVZtwfJdA,30838
3
3
  rapidata/api_client/api/__init__.py,sha256=K67VMR3zWtv824onw87pEm-K2xrDphRIY04TtKg_k2U,1359
4
4
  rapidata/api_client/api/campaign_api.py,sha256=ZEYXEp8_mzsElbklLXBLGnKEfPB1mx8-G5CXfSnibq0,80791
@@ -475,10 +475,10 @@ rapidata/rapidata_client/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NM
475
475
  rapidata/rapidata_client/api/rapidata_exception.py,sha256=BIdmHRrJUGW-Mqhp1H_suemZaR6w9TgjWq-ZW5iUPdQ,3878
476
476
  rapidata/rapidata_client/assets/__init__.py,sha256=eQkqUrYFME1FCxPY2Xh2bbonKVPnsFElJ6aPFcsWGxI,361
477
477
  rapidata/rapidata_client/assets/_base_asset.py,sha256=B2YWH1NgaeYUYHDW3OPpHM_bqawHbH4EjnRCE2BYwiM,298
478
- rapidata/rapidata_client/assets/_media_asset.py,sha256=JiNUAFPz9D6MkA_6K8EnDtAUAFztyJ5woVRquSqucnE,10543
478
+ rapidata/rapidata_client/assets/_media_asset.py,sha256=LEQtIPHNPVwuIA5ua_3x82aTt6p1eHMhMuGuZEEEbAg,10562
479
479
  rapidata/rapidata_client/assets/_multi_asset.py,sha256=OzU5VxRh3Igku4HC60tEc0XECHh5C2k-k35AbqW7eG8,1842
480
480
  rapidata/rapidata_client/assets/_sessions.py,sha256=Dgcb61Q4gLwU5hurnv6sN2Jvw-ZV7vjhVWXog5Wq4aw,1094
481
- rapidata/rapidata_client/assets/_text_asset.py,sha256=XuxAdq8b461uFC0LCv52Y3iEd--YaKvmTgDEV0Ss2Dc,777
481
+ rapidata/rapidata_client/assets/_text_asset.py,sha256=bZHBrvbHSzF0qePoJ5LqYq__2ZDspzCeYi1nDbiIako,796
482
482
  rapidata/rapidata_client/assets/data_type_enum.py,sha256=ELC-ymeKnQlfNAzfqsI7MmUuRiGYamCHVcTc0qR6Fm4,185
483
483
  rapidata/rapidata_client/country_codes/__init__.py,sha256=FB9Dcks44J6C6YBSYmTmNZ71tE130x6NO_3aLJ8fKzQ,40
484
484
  rapidata/rapidata_client/country_codes/country_codes.py,sha256=ePHqeb7y9DWQZAnddBzPx1puYBcrgUjdR2sbFijuFD8,283
@@ -572,7 +572,7 @@ rapidata/service/__init__.py,sha256=s9bS1AJZaWIhLtJX_ZA40_CK39rAAkwdAmymTMbeWl4,
572
572
  rapidata/service/credential_manager.py,sha256=pUEEtp6VrFWYhfUUtyqmS0AlRqe2Y0kFkY6o22IT4KM,8682
573
573
  rapidata/service/local_file_service.py,sha256=pgorvlWcx52Uh3cEG6VrdMK_t__7dacQ_5AnfY14BW8,877
574
574
  rapidata/service/openapi_service.py,sha256=yW8F6UcGs5VCzB4k3-FSBToojjpgJ4Y_LiEgZZ7uprw,5049
575
- rapidata-2.28.3.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
576
- rapidata-2.28.3.dist-info/METADATA,sha256=D3qjJ_QAx_UDxlihGkb_vzLJpSAo21s_kdCbkoS5e-M,1264
577
- rapidata-2.28.3.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
578
- rapidata-2.28.3.dist-info/RECORD,,
575
+ rapidata-2.28.4.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
576
+ rapidata-2.28.4.dist-info/METADATA,sha256=oVFv3lDWHMyMH63pVLFdk0OU20M9iYBke888ru53VM8,1264
577
+ rapidata-2.28.4.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
578
+ rapidata-2.28.4.dist-info/RECORD,,