bw-essentials-core 0.1.9__tar.gz → 0.1.10__tar.gz
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 bw-essentials-core might be problematic. Click here for more details.
- {bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/PKG-INFO +1 -1
- {bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials/services/payment.py +2 -2
- {bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials/services/portfolio_catalogue.py +6 -6
- {bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials_core.egg-info/PKG-INFO +1 -1
- {bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/setup.py +1 -1
- {bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/README.md +0 -0
- {bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials/__init__.py +0 -0
- {bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials/constants/__init__.py +0 -0
- {bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials/constants/services.py +0 -0
- {bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials/data_loch/__init__.py +0 -0
- {bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials/data_loch/data_loch.py +0 -0
- {bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials/email_client/__init__.py +0 -0
- {bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials/email_client/email_client.py +0 -0
- {bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials/notifications/__init__.py +0 -0
- {bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials/notifications/teams_notification_schemas.py +0 -0
- {bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials/notifications/teams_notifications.py +0 -0
- {bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials/s3_utils/__init__.py +0 -0
- {bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials/s3_utils/s3_utils.py +0 -0
- {bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials/services/__init__.py +0 -0
- {bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials/services/api_client.py +0 -0
- {bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials/services/broker.py +0 -0
- {bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials/services/market_pricer.py +0 -0
- {bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials/services/master_data.py +0 -0
- {bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials/services/model_portfolio_reporting.py +0 -0
- {bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials/services/notification.py +0 -0
- {bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials/services/portfolio_content.py +0 -0
- {bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials/services/trade_placement.py +0 -0
- {bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials/services/user_app.py +0 -0
- {bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials/services/user_portfolio.py +0 -0
- {bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials/services/user_portfolio_reporting.py +0 -0
- {bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials_core.egg-info/SOURCES.txt +0 -0
- {bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials_core.egg-info/dependency_links.txt +0 -0
- {bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials_core.egg-info/requires.txt +0 -0
- {bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials_core.egg-info/top_level.txt +0 -0
- {bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/setup.cfg +0 -0
|
@@ -33,7 +33,7 @@ class Payment(ApiClient):
|
|
|
33
33
|
available, otherwise `None`.
|
|
34
34
|
"""
|
|
35
35
|
logger.info(f"Received request to get subscription with {user_id =}")
|
|
36
|
-
url = f"{self.base_url}
|
|
37
|
-
subscription = self._get(url, params={'userId': user_id})
|
|
36
|
+
url = f"{self.base_url}"
|
|
37
|
+
subscription = self._get(url=url, endpoint=self.urls.get('get_subscription'), params={'userId': user_id})
|
|
38
38
|
logger.info(f"Successfully fetched subscription data. {subscription =}")
|
|
39
39
|
return subscription.get('data')
|
{bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials/services/portfolio_catalogue.py
RENAMED
|
@@ -178,11 +178,11 @@ class PortfolioCatalogue(ApiClient):
|
|
|
178
178
|
otherwise an empty list.
|
|
179
179
|
"""
|
|
180
180
|
logger.info(f"In get_subscriptions_by_ids {plans_ids =}")
|
|
181
|
-
url = f"{self.base_url}
|
|
181
|
+
url = f"{self.base_url}"
|
|
182
182
|
data = {
|
|
183
|
-
|
|
183
|
+
"planId": plans_ids
|
|
184
184
|
}
|
|
185
|
-
response = self._post(url, self.
|
|
185
|
+
response = self._post(url=url, endpoint=self.urls.get('subscriptions_by_ids'), json=data)
|
|
186
186
|
logger.info(f"Successfully fetched subscriptions by ids data. {response =}")
|
|
187
187
|
return response.get('data', [])
|
|
188
188
|
|
|
@@ -204,10 +204,10 @@ class PortfolioCatalogue(ApiClient):
|
|
|
204
204
|
otherwise an empty list.
|
|
205
205
|
"""
|
|
206
206
|
logger.info(f"In get_otp_subscriptions_by_ids {plans_ids =}")
|
|
207
|
-
url = f"{self.base_url}
|
|
207
|
+
url = f"{self.base_url}"
|
|
208
208
|
data = {
|
|
209
|
-
|
|
209
|
+
"id": plans_ids
|
|
210
210
|
}
|
|
211
|
-
response = self._post(url, self.
|
|
211
|
+
response = self._post(url=url, endpoint=self.urls.get('otp_subscriptions_by_ids'), json=data)
|
|
212
212
|
logger.info(f"Successfully fetched otp subscriptions by ids data. {response =}")
|
|
213
213
|
return response.get('data', [])
|
|
@@ -10,7 +10,7 @@ from setuptools import setup, find_packages
|
|
|
10
10
|
|
|
11
11
|
setup(
|
|
12
12
|
name="bw-essentials-core",
|
|
13
|
-
version="0.1.
|
|
13
|
+
version="0.1.10",
|
|
14
14
|
author="InvestorAI",
|
|
15
15
|
author_email="support+tech@investorai.in",
|
|
16
16
|
description="Reusable utilities for S3, email, Data Loch, Microsoft Teams Notifications and more.",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials/email_client/__init__.py
RENAMED
|
File without changes
|
{bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials/email_client/email_client.py
RENAMED
|
File without changes
|
{bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials/notifications/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials/services/market_pricer.py
RENAMED
|
File without changes
|
{bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials/services/master_data.py
RENAMED
|
File without changes
|
|
File without changes
|
{bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials/services/notification.py
RENAMED
|
File without changes
|
{bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials/services/portfolio_content.py
RENAMED
|
File without changes
|
{bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials/services/trade_placement.py
RENAMED
|
File without changes
|
|
File without changes
|
{bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials/services/user_portfolio.py
RENAMED
|
File without changes
|
|
File without changes
|
{bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials_core.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials_core.egg-info/requires.txt
RENAMED
|
File without changes
|
{bw_essentials_core-0.1.9 → bw_essentials_core-0.1.10}/bw_essentials_core.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|