bw-essentials-core 0.1.15__py3-none-any.whl → 0.1.17__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.
@@ -36,11 +36,11 @@ class JobScheduler(ApiClient):
36
36
  Returns:
37
37
  dict: Headers
38
38
  """
39
- return {
39
+ self.headers.update({
40
40
  'Content-Type': 'application/json',
41
41
  **({'X-Tenant-ID': self.tenant_id} if self.tenant_id else {}),
42
42
  'x-api-key': self.api_key
43
- }
43
+ })
44
44
 
45
45
  def process_user_profile(self, data):
46
46
  """
@@ -57,6 +57,6 @@ class JobScheduler(ApiClient):
57
57
  None: The method does not return a value.
58
58
  """
59
59
  logger.info(f"In - process_user_profile {self.user =}")
60
- self.headers = self._headers()
60
+ self._headers()
61
61
  self._post(url=self.base_url, endpoint=self.urls.get('process_user_profile'), json=data)
62
62
  logger.info(f"Out - process_user_profile")
@@ -49,7 +49,7 @@ class PrometheusUserApp(ApiClient):
49
49
  self.name = Services.PROMETHEUS_USER_APP.value
50
50
  self.tenant_id = tenant_id
51
51
  self.urls = {
52
- "user_details": "user/details",
52
+ "user_details": "user/details/",
53
53
  "profile": "user/profile",
54
54
  "get_profile": "user/profile/",
55
55
  "login": "user/login",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bw-essentials-core
3
- Version: 0.1.15
3
+ Version: 0.1.17
4
4
  Summary: Reusable utilities for S3, email, Data Loch, Microsoft Teams Notifications and more.
5
5
  Author: InvestorAI
6
6
  Author-email: support+tech@investorai.in
@@ -13,7 +13,7 @@ bw_essentials/s3_utils/s3_utils.py,sha256=wzjVrTX22_8PMX86svKFYGMZwgjBHbOaeEsxO-
13
13
  bw_essentials/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
14
  bw_essentials/services/api_client.py,sha256=5XFbdw5gfxXz7mQlLWNC8efDrvZgAztM-Oo0Dp1jDF8,8215
15
15
  bw_essentials/services/broker.py,sha256=W4y31K7dF4LHfQSvnAwVWfGoYKkdz-W2TXqTLhkUxn8,9348
16
- bw_essentials/services/job_scheduler.py,sha256=y-JKED4YvHORQlATh3ej3CFx_gfaGOC_Iw-hFQcxpMc,1967
16
+ bw_essentials/services/job_scheduler.py,sha256=1fQDWBvNa3bMCm3YzlJehoS-HONUSu4_oquuBv6t0Lg,1966
17
17
  bw_essentials/services/market_pricer.py,sha256=Qc9lxzAjhefAvjyEKsBPDu60bF6_61cnSpZNfjGMyDg,11755
18
18
  bw_essentials/services/master_data.py,sha256=2o_r2gdhIKBeTFgn5IIY-becgCEpYBymO4BKmixdV1g,11987
19
19
  bw_essentials/services/model_portfolio_reporting.py,sha256=iOtm4gyfU8P7C0R1gp6gUJI4ZRxJD5K2GLOalI_gToM,3249
@@ -22,10 +22,10 @@ bw_essentials/services/payment.py,sha256=Em8Lvg7aX1Ga4CJDpJimyE_ByZhJZKM6W6rw2cU
22
22
  bw_essentials/services/portfolio_catalogue.py,sha256=Eal2wJd2qQB_qk2B_7u0-SwsZTN9nMsSxwgoIud845Y,7201
23
23
  bw_essentials/services/portfolio_content.py,sha256=etdbPqacUJscM1DqdtqSsuH3IQX6oPJEsE3nM6d8YvI,3038
24
24
  bw_essentials/services/trade_placement.py,sha256=PrzeU2XXC9HF1IQ1dMDM_ZHxmC491sOl-JbA6GWPwII,20772
25
- bw_essentials/services/user_app.py,sha256=jEpdT2W0Bj65xwQG2X1wnsQQEvjMHMbtjuvuYlzhJ6Q,11773
25
+ bw_essentials/services/user_app.py,sha256=1z73G91TygW_MgHjkUVA2WIdN4CQjx_oSZWW6NqFit8,11774
26
26
  bw_essentials/services/user_portfolio.py,sha256=uUQUCG8Av8eKBIw-TlNtOPpQluO9HjAkxMzzO5jfzbo,22179
27
27
  bw_essentials/services/user_portfolio_reporting.py,sha256=pwqfW95LTiGOGufcTphljFxPlOd-G4Q263UtoQURPxM,6772
28
- bw_essentials_core-0.1.15.dist-info/METADATA,sha256=7II79sfUndKShjr9wC6FBaekBId-KMPBbdA4ys0WVpM,7502
29
- bw_essentials_core-0.1.15.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
30
- bw_essentials_core-0.1.15.dist-info/top_level.txt,sha256=gDc5T_y5snwKGXDQUusEus-FEt0RFwG644Yn_58wQOQ,14
31
- bw_essentials_core-0.1.15.dist-info/RECORD,,
28
+ bw_essentials_core-0.1.17.dist-info/METADATA,sha256=9reGA-4ZeYNOVS7aIbRbjv9MjXrEEhPS0x85ZcXwGgQ,7502
29
+ bw_essentials_core-0.1.17.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
30
+ bw_essentials_core-0.1.17.dist-info/top_level.txt,sha256=gDc5T_y5snwKGXDQUusEus-FEt0RFwG644Yn_58wQOQ,14
31
+ bw_essentials_core-0.1.17.dist-info/RECORD,,