port-ocean 0.1.3rc3__py3-none-any.whl → 0.1.3rc4__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 port-ocean might be problematic. Click here for more details.

@@ -14,9 +14,10 @@ class Configuration(BaseModel, extra=Extra.allow):
14
14
 
15
15
 
16
16
  def dynamic_parse(value: Any, field: ModelField) -> Any:
17
- if isinstance(value, str) and (
18
- issubclass(field.annotation, dict) or issubclass(field.annotation, list)
19
- ):
17
+ should_json_load = issubclass(field.annotation, dict) or issubclass(
18
+ field.annotation, list
19
+ )
20
+ if isinstance(value, str) and should_json_load:
20
21
  try:
21
22
  return json.loads(value)
22
23
  except json.JSONDecodeError:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: port-ocean
3
- Version: 0.1.3rc3
3
+ Version: 0.1.3rc4
4
4
  Summary: Port Ocean is a CLI tool for managing your Port projects.
5
5
  Home-page: https://app.getport.io
6
6
  Keywords: ocean,port-ocean,port
@@ -37,7 +37,7 @@ port_ocean/clients/port/types.py,sha256=NnT1W2H_tZ_9cyEFoDhb90q3apf8p9emkHYspbPo
37
37
  port_ocean/clients/port/utils.py,sha256=jgF0Gq8lZA9qkpsHlzPTuKoAdY6AlvF1Bl5JB4SnQGE,781
38
38
  port_ocean/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
39
39
  port_ocean/config/base.py,sha256=ppibshn1EnCe2Mv_81-t5ZeGcF6tANPUlpMgLvTtngU,4019
40
- port_ocean/config/dynamic.py,sha256=Yr-5aAXUh_Yw5tlB8iwDPKlObsCP4ePLfjc21XRW7_I,1778
40
+ port_ocean/config/dynamic.py,sha256=CIRDnqFUPSnNMLZ-emRCMVAjEQNBlIujhZ7OGwi_aKs,1816
41
41
  port_ocean/config/settings.py,sha256=Ghg71GJgeIPzFMyvAanErfCMCVDbc-roDGkdtgtTYf8,1231
42
42
  port_ocean/consumers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
43
43
  port_ocean/consumers/base_consumer.py,sha256=L0gW0DvUpeGVdb1RH83-wgbI37V6fsUKfd9Yox42-Gs,125
@@ -93,8 +93,8 @@ port_ocean/port_defaults.py,sha256=QzrO_7Q0hRX-bgMpm-6XTedMbTZQH73NfHby3l1FEDw,7
93
93
  port_ocean/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
94
94
  port_ocean/run.py,sha256=Bd6c6qYqQZlZqTLyRWRIkf579NQNqrr-o4mVAnBIISA,2834
95
95
  port_ocean/utils.py,sha256=2a30qmGMSPgsTxfpz2RiI3xDsM0-TkaKAbvJBaYqvCc,1007
96
- port_ocean-0.1.3rc3.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
97
- port_ocean-0.1.3rc3.dist-info/METADATA,sha256=342xRH2Ukz4vNYrkkdoRrwbjkQ6vmuZrQ_JP24BDBjQ,6359
98
- port_ocean-0.1.3rc3.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
99
- port_ocean-0.1.3rc3.dist-info/entry_points.txt,sha256=F_DNUmGZU2Kme-8NsWM5LLE8piGMafYZygRYhOVtcjA,54
100
- port_ocean-0.1.3rc3.dist-info/RECORD,,
96
+ port_ocean-0.1.3rc4.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
97
+ port_ocean-0.1.3rc4.dist-info/METADATA,sha256=XYm51wAD0X5ERWxcVsYemoSJnFfEg1YHs6YDD60t5S0,6359
98
+ port_ocean-0.1.3rc4.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
99
+ port_ocean-0.1.3rc4.dist-info/entry_points.txt,sha256=F_DNUmGZU2Kme-8NsWM5LLE8piGMafYZygRYhOVtcjA,54
100
+ port_ocean-0.1.3rc4.dist-info/RECORD,,